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

Unified Diff: runtime/vm/constants_ia32.h

Issue 12776006: Make allocation of Dart parameters and local variables architecture independent. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
Index: runtime/vm/constants_ia32.h
===================================================================
--- runtime/vm/constants_ia32.h (revision 20045)
+++ runtime/vm/constants_ia32.h (working copy)
@@ -73,6 +73,12 @@
// an exception is thrown.
const Register kStackTraceObjectReg = EDX;
+
+// Dart stack frame layout.
+static const int kLastParamSlotIndex = 2;
+static const int kFirstLocalSlotIndex = -2;
siva 2013/03/14 21:50:33 This file was meant for processor specific constan
+
+
enum ScaleFactor {
TIMES_1 = 0,
TIMES_2 = 1,
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/constants_mips.h » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698