| Index: src/x64/deoptimizer-x64.cc
|
| diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc
|
| index 29b9023d42a7aad0ab19fd246b8c5f9a21523445..ee70785f2673811244391599c93547f95bf80383 100644
|
| --- a/src/x64/deoptimizer-x64.cc
|
| +++ b/src/x64/deoptimizer-x64.cc
|
| @@ -88,8 +88,8 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
|
| }
|
| #ifdef DEBUG
|
| // Destroy the code which is not supposed to run again.
|
| - CHECK(code->safepoint_table_start() >= last_pc_offset);
|
| - unsigned instructions = code->safepoint_table_start() - last_pc_offset;
|
| + CHECK(code->safepoint_table_offset() >= last_pc_offset);
|
| + unsigned instructions = code->safepoint_table_offset() - last_pc_offset;
|
| CodePatcher destroyer(code->instruction_start() + last_pc_offset,
|
| instructions);
|
| for (unsigned i = 0; i < instructions; i++) {
|
|
|