Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 89c2ffb6f8fd15854f3a29e248946c1f05641c41..f4370e0135b9c994694a283965a482a3575df36a 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -335,7 +335,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ Add(target, target, Code::kHeaderSize - kHeapObjectTag); |
__ Call(target); |
} |
- AddSafepointAndDeopt(instr); |
+ RecordCallPosition(instr); |
break; |
} |
case kArchCallJSFunction: { |
@@ -351,7 +351,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
} |
__ Ldr(x10, FieldMemOperand(func, JSFunction::kCodeEntryOffset)); |
__ Call(x10); |
- AddSafepointAndDeopt(instr); |
+ RecordCallPosition(instr); |
break; |
} |
case kArchJmp: |