Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 7311ee2e1e5e2c148e253b272a367991daf6e276..eb0f12a39417dcc6f93429cb5ed69f528ca67ace 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1816,6 +1816,7 @@ MaybeObject* KeyedStoreIC::Store(State state, |
stub = non_strict_arguments_stub(); |
} else if (!force_generic) { |
if (key->IsSmi() && (target() != non_strict_arguments_stub())) { |
+ HandleScope scope(isolate()); |
MaybeObject* maybe_stub = ComputeStub(receiver, |
true, |
strict_mode, |