Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index 77621e7133943a3c82286904e7709a6e318e267c..5d6275103bddceacb9a9a68d02325dced36c2962 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -13,6 +13,17 @@ |
namespace v8 { |
namespace internal { |
+// Give alias names to registers for calling conventions. |
+const Register kReturnRegister0 = {kRegister_r3_Code}; |
+const Register kReturnRegister1 = {kRegister_r4_Code}; |
+const Register kJSFunctionRegister = {kRegister_r4_Code}; |
+const Register kContextRegister = {kRegister_r30_Code}; |
+const Register kInterpreterBytecodeOffsetRegister = {kRegister_r14_Code}; |
+const Register kInterpreterBytecodeArrayRegister = {kRegister_r15_Code}; |
+const Register kInterpreterDispatchTableRegister = {kRegister_r16_Code}; |
+const Register kRuntimeCallFunctionRegister = {kRegister_r4_Code}; |
+const Register kRuntimeCallArgCountRegister = {kRegister_r3_Code}; |
+ |
// ---------------------------------------------------------------------------- |
// Static helper functions |