Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 331802a7de689d3e3d8f035558bafaf3c15197ab..5dc18607b2b9431a96dd50693f00d35837a27af3 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -18,10 +18,9 @@ |
#include "src/field-index.h" |
#include "src/flags.h" |
#include "src/list.h" |
-#include "src/messages.h" |
#include "src/property-details.h" |
-#include "src/unicode-decoder.h" |
#include "src/unicode.h" |
+#include "src/unicode-decoder.h" |
#include "src/zone.h" |
#if V8_TARGET_ARCH_ARM |
@@ -1178,11 +1177,6 @@ class Object { |
MUST_USE_RESULT static MaybeHandle<Object> ToLength(Isolate* isolate, |
Handle<Object> input); |
- // ES6 section 7.1.17 ToIndex |
- MUST_USE_RESULT static MaybeHandle<Object> ToIndex( |
- Isolate* isolate, Handle<Object> input, |
- MessageTemplate::Template error_index); |
- |
// ES6 section 7.3.9 GetMethod |
MUST_USE_RESULT static MaybeHandle<Object> GetMethod( |
Handle<JSReceiver> receiver, Handle<Name> name); |