Index: src/virtual-frame.h |
diff --git a/src/virtual-frame.h b/src/virtual-frame.h |
index 220823ed4b1ea71fdb7d8b7e8d3e2be6b96dcfc3..65d1009899a564d92a4689edb94188d52e26aa9a 100644 |
--- a/src/virtual-frame.h |
+++ b/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_ |