Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: src/virtual-frame.h

Issue 5005001: Split globals.h into two parts, where only one depends on V8. (Closed)
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/v8globals.h ('K') | « src/v8globals.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/virtual-frame.h
diff --git a/src/virtual-frame.h b/src/virtual-frame.h
index 220823ed4b1ea71fdb7d8b7e8d3e2be6b96dcfc3..d8061803573017bcb5eacbc9296cc4e121683a28 100644
--- a/src/virtual-frame.h
+++ b/src/virtual-frame.h
@@ -43,4 +43,17 @@
#error Unsupported target architecture.
#endif
+#include "list-inl.h"
+#include "utils.h"
Rico 2010/11/15 13:10:16 Move includes up before platform specific includes
Lasse Reichstein 2010/11/15 13:21:10 Done.
+
+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_
« src/v8globals.h ('K') | « src/v8globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698