Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 8d75a751248064ff1c9d7444b04b559f3afbffdc..77c9b2eae5db67e91d0a935e01750e9becb784e6 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1193,11 +1193,6 @@ MaybeHandle<Object> Object::GetProperty(Isolate* isolate, |
Handle<Object> object, |
const char* name) { |
Handle<String> str = isolate->factory()->InternalizeUtf8String(name); |
- DCHECK(!str.is_null()); |
-#ifdef DEBUG |
- uint32_t index; // Assert that the name is not an array index. |
- DCHECK(!str->AsArrayIndex(&index)); |
-#endif // DEBUG |
return GetProperty(object, str); |
} |
@@ -1213,14 +1208,6 @@ MaybeHandle<Object> JSProxy::SetElementWithHandler(Handle<JSProxy> proxy, |
} |
-Maybe<bool> JSProxy::HasElementWithHandler(Handle<JSProxy> proxy, |
- uint32_t index) { |
- Isolate* isolate = proxy->GetIsolate(); |
- Handle<String> name = isolate->factory()->Uint32ToString(index); |
- return HasPropertyWithHandler(proxy, name); |
-} |
- |
- |
#define FIELD_ADDR(p, offset) \ |
(reinterpret_cast<byte*>(p) + offset - kHeapObjectTag) |