Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 13ecdc4f9f9c46b57ca73e3185769b796c825a0f..4c5da677aee888be5f682ffb22f93fed330bf597 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -280,9 +280,7 @@ class WasmOutOfLineTrap final : public OutOfLineCode { |
// TODO(eholk): Refactor this method to take the code generator as a |
// parameter. |
void Generate() final { |
- Address current_pc = __ pc(); |
- |
- __ RecordProtectedInstruction(pc_, current_pc); |
+ __ RecordProtectedInstructionLanding(pc_); |
if (frame_elided_) { |
__ EnterFrame(StackFrame::WASM_COMPILED); |