Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index 89175cd906d80a9533a47013ba2f0ec129b67fdf..ae263bddd7c42bd12e486b7890f2e741bc0a24f3 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -69,6 +69,11 @@ class Execution FINAL : public AllStatic { |
MUST_USE_RESULT static MaybeHandle<Object> ToUint32( |
Isolate* isolate, Handle<Object> obj); |
+ |
+ // ES6, draft 10-14-14, section 7.1.15 |
+ MUST_USE_RESULT static MaybeHandle<Object> ToLength( |
+ Isolate* isolate, Handle<Object> obj); |
+ |
// ECMA-262 9.8 |
MUST_USE_RESULT static MaybeHandle<Object> ToString( |
Isolate* isolate, Handle<Object> obj); |