| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 5dc18607b2b9431a96dd50693f00d35837a27af3..331802a7de689d3e3d8f035558bafaf3c15197ab 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -18,9 +18,10 @@
|
| #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.h"
|
| #include "src/unicode-decoder.h"
|
| +#include "src/unicode.h"
|
| #include "src/zone.h"
|
|
|
| #if V8_TARGET_ARCH_ARM
|
| @@ -1177,6 +1178,11 @@ 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);
|
|
|