Index: src/mips64/macro-assembler-mips64.h |
diff --git a/src/mips64/macro-assembler-mips64.h b/src/mips64/macro-assembler-mips64.h |
index 806a5475a924e95a6489712aa88f23e328efbfa5..f45b1b0169cb1b080e0db71bdf9b82dfbf390e68 100644 |
--- a/src/mips64/macro-assembler-mips64.h |
+++ b/src/mips64/macro-assembler-mips64.h |
@@ -12,6 +12,17 @@ |
namespace v8 { |
namespace internal { |
+// Give alias names to registers for calling conventions. |
+const Register kReturnRegister0 = {kRegister_v0_Code}; |
+const Register kReturnRegister1 = {kRegister_v1_Code}; |
+const Register kJSFunctionRegister = {kRegister_a1_Code}; |
+const Register kContextRegister = {kRegister_s7_Code}; |
+const Register kInterpreterBytecodeOffsetRegister = {kRegister_t0_Code}; |
+const Register kInterpreterBytecodeArrayRegister = {kRegister_t1_Code}; |
+const Register kInterpreterDispatchTableRegister = {kRegister_t2_Code}; |
+const Register kRuntimeCallFunctionRegister = {kRegister_a1_Code}; |
+const Register kRuntimeCallArgCountRegister = {kRegister_a0_Code}; |
+ |
// Forward declaration. |
class JumpTarget; |