Index: src/liveedit.h |
diff --git a/src/liveedit.h b/src/liveedit.h |
index 4833f0f3777361890c4e6d0a6658b67cd3abd6a6..df2280d8cfd8885146f18db441033d879433bf6f 100644 |
--- a/src/liveedit.h |
+++ b/src/liveedit.h |
@@ -216,8 +216,8 @@ class JSArrayBasedStruct { |
} |
Handle<Object> GetField(int field_position) { |
- return Object::GetElement( |
- isolate(), array_, field_position).ToHandleChecked(); |
+ return Object::GetElementNoExceptionThrown( |
+ isolate(), array_, field_position); |
} |
int GetSmiValueField(int field_position) { |
@@ -297,8 +297,8 @@ class SharedInfoWrapper : public JSArrayBasedStruct<SharedInfoWrapper> { |
public: |
static bool IsInstance(Handle<JSArray> array) { |
return array->length() == Smi::FromInt(kSize_) && |
- Object::GetElement(array->GetIsolate(), array, kSharedInfoOffset_) |
- .ToHandleChecked()->IsJSValue(); |
+ Object::GetElementNoExceptionThrown( |
+ array->GetIsolate(), array, kSharedInfoOffset_)->IsJSValue(); |
} |
explicit SharedInfoWrapper(Handle<JSArray> array) |