| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index 13f04479ae42776aa2df317bc471ed928cc7e5e5..ce969dd401e8830501893c81edbc18898051965a 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -722,6 +722,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);
|
|
|