Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 1b177c239b10a68541fa668ed792397d41a08c96..9030372a76d8c8e4a4d9572fb76ae30b1a248812 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -826,7 +826,8 @@ void Deoptimizer::MaterializeHeapObjects(JavaScriptFrameIterator* it) { |
// Handlify all argument object values before triggering any allocation. |
List<Handle<Object> > values(deferred_arguments_objects_values_.length()); |
for (int i = 0; i < deferred_arguments_objects_values_.length(); ++i) { |
- values.Add(Handle<Object>(deferred_arguments_objects_values_[i])); |
+ values.Add(Handle<Object>(deferred_arguments_objects_values_[i], |
+ isolate_)); |
} |
// Play it safe and clear all unhandlified values before we continue. |
@@ -2006,7 +2007,8 @@ SlotRef SlotRef::ComputeSlotForNextArgument(TranslationIterator* iterator, |
case Translation::LITERAL: { |
int literal_index = iterator->Next(); |
- return SlotRef(data->LiteralArray()->get(literal_index)); |
+ return SlotRef(data->GetIsolate(), |
+ data->LiteralArray()->get(literal_index)); |
} |
case Translation::COMPILED_STUB_FRAME: |