Index: src/x87/macro-assembler-x87.h |
diff --git a/src/x87/macro-assembler-x87.h b/src/x87/macro-assembler-x87.h |
index 02e567dde05691140ba8127c82ca5c7a7cf3bdd5..4b5256454347492245f50da7cfe12efaa2125acd 100644 |
--- a/src/x87/macro-assembler-x87.h |
+++ b/src/x87/macro-assembler-x87.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; |