| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 99b0bb8be3de7154f196027c23318782080d7cab..1903e47709a0a0ec315af0b9f238a492b99dd0fd 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -3065,14 +3065,6 @@ bool v8::Object::ForceDelete(v8::Handle<Value> key) {
|
| i::Handle<i::JSObject> self = Utils::OpenHandle(this);
|
| i::Handle<i::Object> key_obj = Utils::OpenHandle(*key);
|
|
|
| - // When deleting a property on the global object using ForceDelete
|
| - // deoptimize all functions as optimized code does not check for the hole
|
| - // 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(isolate);
|
| - }
|
| -
|
| EXCEPTION_PREAMBLE(isolate);
|
| i::Handle<i::Object> obj;
|
| has_pending_exception =
|
|
|