Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index d1197e875a59590ab2c13a7f9438e13b81e3fdb0..226878cda43b97f8a427d7125c1214c1fa2e2945 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -6617,11 +6617,7 @@ |
it->GetAccessors()->IsAccessorPair(); |
if (!is_accessor_pair) { |
// 5a. Set D.[[Value]] to the value of X's [[Value]] attribute. |
- Handle<Object> value; |
- if (!JSObject::GetProperty(it).ToHandle(&value)) { |
- DCHECK(isolate->has_pending_exception()); |
- return false; |
- } |
+ Handle<Object> value = JSObject::GetProperty(it).ToHandleChecked(); |
desc->set_value(value); |
// 5b. Set D.[[Writable]] to the value of X's [[Writable]] attribute |
desc->set_writable((attrs & READ_ONLY) == 0); |