Index: src/compiler/arm64/linkage-arm64.cc |
diff --git a/src/compiler/arm64/linkage-arm64.cc b/src/compiler/arm64/linkage-arm64.cc |
index 4a601efb22fddaaf84fb74a1519b4a0ba47e036f..99d2d56848d5586b9a20ff335dc28b390968f720 100644 |
--- a/src/compiler/arm64/linkage-arm64.cc |
+++ b/src/compiler/arm64/linkage-arm64.cc |
@@ -17,9 +17,15 @@ struct Arm64LinkageHelperTraits { |
static Register ReturnValue2Reg() { return x1; } |
static Register JSCallFunctionReg() { return x1; } |
static Register ContextReg() { return cp; } |
- static Register InterpreterBytecodeOffsetReg() { return x19; } |
- static Register InterpreterBytecodeArrayReg() { return x20; } |
- static Register InterpreterDispatchTableReg() { return x21; } |
+ static Register InterpreterBytecodeOffsetReg() { |
+ return kInterpreterBytecodeOffsetRegister; |
+ } |
+ static Register InterpreterBytecodeArrayReg() { |
+ return kInterpreterBytecodeArrayRegister; |
+ } |
+ static Register InterpreterDispatchTableReg() { |
+ return kInterpreterDispatchTableRegister; |
+ } |
static Register RuntimeCallFunctionReg() { return x1; } |
static Register RuntimeCallArgCountReg() { return x0; } |
static RegList CCalleeSaveRegisters() { |