Fix arm compilation, missing isolate pointer
Review URL: http://codereview.chromium.org/7988007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9403 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
bfd048173f
commit
bb2cf02849
@ -112,9 +112,11 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
|
||||
}
|
||||
#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;
|
||||
|
||||
|
@ -197,10 +197,11 @@ void Deoptimizer::DeoptimizeFunction(JSFunction* function) {
|
||||
// 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user