Index: src/runtime/runtime-liveedit.cc |
diff --git a/src/runtime/runtime-liveedit.cc b/src/runtime/runtime-liveedit.cc |
index b453d154592f235c4f14be702d44a7ef4b3d868c..e4c644e168182b66ee579cbcd7470190364ff69f 100644 |
--- a/src/runtime/runtime-liveedit.cc |
+++ b/src/runtime/runtime-liveedit.cc |
@@ -234,8 +234,9 @@ RUNTIME_FUNCTION(Runtime_LiveEditCheckAndDropActivations) { |
RUNTIME_ASSERT(shared_array->HasFastElements()) |
int array_length = Smi::cast(shared_array->length())->value(); |
for (int i = 0; i < array_length; i++) { |
- Handle<Object> element = |
- Object::GetElement(isolate, shared_array, i).ToHandleChecked(); |
+ Handle<Object> element; |
+ ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
+ isolate, element, Object::GetElement(isolate, shared_array, i)); |
RUNTIME_ASSERT( |
element->IsJSValue() && |
Handle<JSValue>::cast(element)->value()->IsSharedFunctionInfo()); |