Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 3c33e4ff32af7b1ea79660366fa62e3ddb2d624f..78fb29753c4a08e2b4b52a4c6538fea5b17a848d 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1384,7 +1384,7 @@ MaybeObject* KeyedLoadIC::Load(State state, |
} |
- return Runtime::GetObjectProperty(isolate(), object, key); |
+ return Runtime::GetObjectPropertyOrFail(isolate(), object, key); |
} |
@@ -1972,7 +1972,7 @@ MaybeObject* KeyedStoreIC::Store(State state, |
TRACE_IC("KeyedStoreIC", key, state, target()); |
} |
- return Runtime::SetObjectProperty( |
+ return Runtime::SetObjectPropertyOrFail( |
isolate(), object , key, value, NONE, strict_mode); |
} |