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

Unified Diff: runtime/vm/constants_ia32.h

Issue 12335102: Compile and simulate first dart function on arm generated from ast. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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/constants_arm.h ('k') | runtime/vm/constants_mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_ia32.h
===================================================================
--- runtime/vm/constants_ia32.h (revision 19151)
+++ runtime/vm/constants_ia32.h (working copy)
@@ -10,6 +10,7 @@
namespace dart {
enum Register {
+ kFirstFreeCpuRegister = 0,
EAX = 0,
ECX = 1,
EDX = 2,
@@ -18,8 +19,8 @@
EBP = 5,
ESI = 6,
EDI = 7,
+ kLastFreeCpuRegister = 7,
kNumberOfCpuRegisters = 8,
- kFirstByteUnsafeRegister = 4,
kNoRegister = -1 // Signals an illegal register.
};
@@ -59,9 +60,10 @@
// Register aliases.
const Register TMP = kNoRegister; // No scratch register used by assembler.
-const Register CTX = ESI; // Caches current context in generated code.
-const Register SPREG = ESP;
-const Register FPREG = EBP;
+const Register CTX = ESI; // Caches current context in generated code.
+const Register PP = kNoRegister; // No object pool pointer.
+const Register SPREG = ESP; // Stack pointer register.
+const Register FPREG = EBP; // Frame pointer register.
// Exception object is passed in this register to the catch handlers when an
// exception is thrown.
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/constants_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698