Index: src/x64/deoptimizer-x64.cc |
diff --git a/src/x64/deoptimizer-x64.cc b/src/x64/deoptimizer-x64.cc |
index 33d4f4dd585ec1ae64503434785606250ce64a70..9e1f5a5f0951c3d2719618db7414935daff3effe 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_bulitin = |
Jakob Kummerow
2013/08/30 10:42:32
nit: typo
|
+ isolate->builtins()->builtin(Builtins::kInterruptCheck); |
+ ASSERT_EQ(interrupt_bulitin->entry(), |
Assembler::target_address_at(call_target_address)); |
ASSERT_EQ(kJnsInstruction, *(call_target_address - 3)); |
ASSERT_EQ(kJnsOffset, *(call_target_address - 2)); |