Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index d2c140274e7172e389d3251d3eca3b05b26d2f06..5502f1a7bbfa1cfa887a1182921b1056c89c40c5 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3041,7 +3041,7 @@ bool v8::Object::ForceDelete(v8::Handle<Value> key) { |
// value with DontDelete properties. We have to deoptimize all contexts |
// because of possible cross-context inlined functions. |
if (self->IsJSGlobalProxy() || self->IsGlobalObject()) { |
- i::Deoptimizer::DeoptimizeAll(); |
+ i::Deoptimizer::DeoptimizeAll(isolate); |
} |
EXCEPTION_PREAMBLE(isolate); |
@@ -6926,7 +6926,7 @@ void Testing::PrepareStressRun(int run) { |
void Testing::DeoptimizeAll() { |
i::Isolate* isolate = i::Isolate::Current(); |
i::HandleScope scope(isolate); |
- internal::Deoptimizer::DeoptimizeAll(); |
+ internal::Deoptimizer::DeoptimizeAll(isolate); |
} |