Index: src/arm/deoptimizer-arm.cc |
diff --git a/src/arm/deoptimizer-arm.cc b/src/arm/deoptimizer-arm.cc |
index f1fde9223e0384fa37fc3190b7fc86c5cb529088..c354badc8e138d267ab983847d03930ec19f0690 100644 |
--- a/src/arm/deoptimizer-arm.cc |
+++ b/src/arm/deoptimizer-arm.cc |
@@ -106,7 +106,7 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) { |
// Add the deoptimizing code to the list. |
DeoptimizingCodeListNode* node = new DeoptimizingCodeListNode(code); |
- DeoptimizerData* data = Isolate::Current()->deoptimizer_data(); |
+ DeoptimizerData* data = code->GetIsolate()->deoptimizer_data(); |
node->set_next(data->deoptimizing_code_list_); |
data->deoptimizing_code_list_ = node; |
@@ -316,8 +316,7 @@ void Deoptimizer::DoComputeOsrOutputFrame() { |
optimized_code_->entry() + pc_offset); |
output_[0]->SetPc(pc); |
} |
- Code* continuation = Isolate::Current()->builtins()->builtin( |
- Builtins::NotifyOSR); |
+ Code* continuation = isolate_->builtins()->builtin(Builtins::kNotifyOSR); |
output_[0]->SetContinuation( |
reinterpret_cast<uint32_t>(continuation->entry())); |
@@ -496,8 +495,8 @@ void Deoptimizer::DoComputeFrame(TranslationIterator* iterator, |
if (is_topmost) { |
Builtins* builtins = isolate_->builtins(); |
Code* continuation = (bailout_type_ == EAGER) |
- ? builtins->builtin(Builtins::NotifyDeoptimized) |
- : builtins->builtin(Builtins::NotifyLazyDeoptimized); |
+ ? builtins->builtin(Builtins::kNotifyDeoptimized) |
+ : builtins->builtin(Builtins::kNotifyLazyDeoptimized); |
output_frame->SetContinuation( |
reinterpret_cast<uint32_t>(continuation->entry())); |
} |