Index: src/x64/deoptimizer-x64.cc |
=================================================================== |
--- src/x64/deoptimizer-x64.cc (revision 9402) |
+++ src/x64/deoptimizer-x64.cc (working copy) |
@@ -197,10 +197,11 @@ |
// Destroy the code which is not supposed to run again. |
ZapCodeRange(previous_pc, jump_table_address); |
#endif |
+ Isolate* isolate = code->GetIsolate(); |
// Add the deoptimizing code to the list. |
DeoptimizingCodeListNode* node = new DeoptimizingCodeListNode(code); |
- DeoptimizerData* data = code->GetIsolate()->deoptimizer_data(); |
+ DeoptimizerData* data = isolate->deoptimizer_data(); |
node->set_next(data->deoptimizing_code_list_); |
data->deoptimizing_code_list_ = node; |