| Index: src/execution.cc
|
| diff --git a/src/execution.cc b/src/execution.cc
|
| index 2e164139c801e91a01c417a9e0b88dd0a60b8f50..31a1da57a9852d6b19eb7b8934139df8cc8954b8 100644
|
| --- a/src/execution.cc
|
| +++ b/src/execution.cc
|
| @@ -751,7 +751,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();
|
| }
|
| @@ -780,7 +781,7 @@ Handle<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.
|
|
|