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