Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 15dbaed69d650b4d3a079df68e8f0999d51a8dc7..92aade9e2659e5beeb29ff6f753757af65486252 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -13,6 +13,17 @@ |
namespace v8 { |
namespace internal { |
+// Give alias names to registers for calling conventions. |
+const Register kReturnRegister0 = {kRegister_eax_Code}; |
+const Register kReturnRegister1 = {kRegister_edx_Code}; |
+const Register kJSFunctionRegister = {kRegister_edi_Code}; |
+const Register kContextRegister = {kRegister_esi_Code}; |
+const Register kInterpreterBytecodeOffsetRegister = {kRegister_ecx_Code}; |
+const Register kInterpreterBytecodeArrayRegister = {kRegister_edi_Code}; |
+const Register kInterpreterDispatchTableRegister = {kRegister_ebx_Code}; |
+const Register kRuntimeCallFunctionRegister = {kRegister_ebx_Code}; |
+const Register kRuntimeCallArgCountRegister = {kRegister_eax_Code}; |
+ |
// Convenience for platform-independent signatures. We do not normally |
// distinguish memory operands from other operands on ia32. |
typedef Operand MemOperand; |