| 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 cd4eeedf10dcec10fc9bc0aa34dda01645ca73e5..502af6a37656be1f0d732e0c14b315c362e8264b 100644
|
| --- a/src/compiler/x64/code-generator-x64.cc
|
| +++ b/src/compiler/x64/code-generator-x64.cc
|
| @@ -280,9 +280,9 @@ class WasmOutOfLineTrap final : public OutOfLineCode {
|
| // TODO(eholk): Refactor this method to take the code generator as a
|
| // parameter.
|
| void Generate() final {
|
| - int current_pc = __ pc_offset();
|
| + Address current_pc = __ pc();
|
|
|
| - gen_->AddProtectedInstruction(pc_, current_pc);
|
| + __ RecordProtectedInstruction(pc_, current_pc);
|
|
|
| if (frame_elided_) {
|
| __ EnterFrame(StackFrame::WASM_COMPILED);
|
|
|