Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 33d4f4dd585ec1ae64503434785606250ce64a70..bb8acce28d834f90247bd0317f7cf30f2fe7cb00 100644 |
--- a/src/x64/deoptimizer-x64.cc |
+++ b/src/x64/deoptimizer-x64.cc |
@@ -151,10 +151,9 @@ Deoptimizer::InterruptPatchState Deoptimizer::GetInterruptPatchState( |
return PATCHED_FOR_OSR; |
} else { |
// Get the interrupt stub code object to match against from cache. |
- Code* interrupt_code = NULL; |
- InterruptStub stub; |
- if (!stub.FindCodeInCache(&interrupt_code, isolate)) UNREACHABLE(); |
- ASSERT_EQ(interrupt_code->entry(), |
+ Code* interrupt_builtin = |
+ isolate->builtins()->builtin(Builtins::kInterruptCheck); |
+ ASSERT_EQ(interrupt_builtin->entry(), |
Assembler::target_address_at(call_target_address)); |
ASSERT_EQ(kJnsInstruction, *(call_target_address - 3)); |
ASSERT_EQ(kJnsOffset, *(call_target_address - 2)); |