Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 2e6023b41e382933fb5ba6ced2dc0e6b8845ed1f..b41c35d51e3245a5a2eefe2099d6f5341421af05 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -731,8 +731,7 @@ Handle<Object> Execution::CharAt(Handle<String> string, uint32_t index) { |
} |
Handle<Object> char_at = Object::GetProperty( |
- isolate->js_builtins_object(), |
- factory->char_at_string()).ToHandleChecked(); |
+ isolate->js_builtins_object(), factory->char_at_string()); |
if (!char_at->IsJSFunction()) { |
return factory->undefined_value(); |
} |
@@ -759,7 +758,7 @@ MaybeHandle<JSFunction> Execution::InstantiateFunction( |
int serial_number = Smi::cast(data->serial_number())->value(); |
Handle<JSObject> cache(isolate->native_context()->function_cache()); |
Handle<Object> elm = |
- Object::GetElement(isolate, cache, serial_number).ToHandleChecked(); |
+ Object::GetElementNoExceptionThrown(isolate, cache, serial_number); |
if (elm->IsJSFunction()) return Handle<JSFunction>::cast(elm); |
} |
// The function has not yet been instantiated in this context; do it. |