diff options
Diffstat (limited to 'deps/v8/src/virtual-frame.h')
-rw-r--r-- | deps/v8/src/virtual-frame.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/v8/src/virtual-frame.h b/deps/v8/src/virtual-frame.h index 220823ed4b..65d1009899 100644 --- a/deps/v8/src/virtual-frame.h +++ b/deps/v8/src/virtual-frame.h @@ -31,6 +31,9 @@ #include "frame-element.h" #include "macro-assembler.h" +#include "list-inl.h" +#include "utils.h" + #if V8_TARGET_ARCH_IA32 #include "ia32/virtual-frame-ia32.h" #elif V8_TARGET_ARCH_X64 @@ -43,4 +46,14 @@ #error Unsupported target architecture. #endif +namespace v8 { +namespace internal { + +// Add() on List is inlined, ResizeAdd() called by Add() is inlined except for +// Lists of FrameElements, and ResizeAddInternal() is inlined in ResizeAdd(). +template <> +void List<FrameElement, + FreeStoreAllocationPolicy>::ResizeAdd(const FrameElement& element); +} } // namespace v8::internal + #endif // V8_VIRTUAL_FRAME_H_ |