Index: src/runtime/runtime-scopes.cc |
diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc |
index 997e405bffa056efbe27d938928ca46892201417..f540a6a885a736b9dbf9d6b1016cacef20c960e8 100644 |
--- a/src/runtime/runtime-scopes.cc |
+++ b/src/runtime/runtime-scopes.cc |
@@ -726,6 +726,13 @@ RUNTIME_FUNCTION(Runtime_NewRestParam) { |
rest_index); |
} |
+RUNTIME_FUNCTION(Runtime_InstallLiterals) { |
+ HandleScope scope(isolate); |
+ DCHECK_EQ(1, args.length()); |
+ CONVERT_ARG_HANDLE_CHECKED(JSFunction, function, 0); |
+ JSFunction::EnsureLiterals(function); |
+ return *function; |
+} |
RUNTIME_FUNCTION(Runtime_NewClosure) { |
HandleScope scope(isolate); |