Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index cfe61f963a87d41e86e153d2104bdc0791783c63..b4d19872fb46d77a31419856e31c706d6a027828 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -545,6 +545,12 @@ MaybeHandle<Object> Execution::ToInt32( |
} |
+MaybeHandle<Object> Execution::ToLength( |
+ Isolate* isolate, Handle<Object> obj) { |
+ RETURN_NATIVE_CALL(to_length, { obj }); |
+} |
+ |
+ |
MaybeHandle<Object> Execution::NewDate(Isolate* isolate, double time) { |
Handle<Object> time_obj = isolate->factory()->NewNumber(time); |
RETURN_NATIVE_CALL(create_date, { time_obj }); |