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

Unified Diff: runtime/vm/constants_x64.h

Issue 8818001: Add 64-bit stubs to call into the runtime and to call native functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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/code_generator_ia32.cc ('k') | runtime/vm/runtime_entry_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/constants_x64.h
===================================================================
--- runtime/vm/constants_x64.h (revision 2205)
+++ runtime/vm/constants_x64.h (working copy)
@@ -56,9 +56,19 @@
};
+enum RexBits {
+ REX_NONE = 0,
+ REX_B = 1 << 0,
+ REX_X = 1 << 1,
+ REX_R = 1 << 2,
+ REX_W = 1 << 3,
+ REX_PREFIX = 1 << 6
+};
+
+
// Register aliases.
const Register TMP = R11; // Used as scratch register by the assembler.
-const Register CTX = R12; // Caches current context in generated code.
+const Register CTX = R15; // Caches current context in generated code.
// Exception object is passed in this register to the catch handlers when an
// exception is thrown.
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/runtime_entry_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698