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

Unified Diff: runtime/vm/stack_frame.h

Issue 14831004: Introduce architecture specific headers describing Dart stack frames. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/stack_frame_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.h
===================================================================
--- runtime/vm/stack_frame.h (revision 22393)
+++ runtime/vm/stack_frame.h (working copy)
@@ -9,6 +9,18 @@
#include "vm/object.h"
#include "vm/stub_code.h"
+#if defined(TARGET_ARCH_IA32)
+#include "vm/stack_frame_ia32.h"
+#elif defined(TARGET_ARCH_X64)
+#include "vm/stack_frame_x64.h"
+#elif defined(TARGET_ARCH_ARM)
+#include "vm/stack_frame_arm.h"
+#elif defined(TARGET_ARCH_MIPS)
+#include "vm/stack_frame_mips.h"
+#else
+#error Unknown architecture.
+#endif
+
namespace dart {
// Forward declarations.
@@ -272,3 +284,4 @@
} // namespace dart
#endif // VM_STACK_FRAME_H_
+
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/stack_frame_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698