Index: test/cctest/compiler/test-run-jscalls.cc |
diff --git a/test/cctest/compiler/test-run-jscalls.cc b/test/cctest/compiler/test-run-jscalls.cc |
index 474453da7d1b0e3099d9276b916bcd2a8f50a520..fe8333811aea6d4878c1084fd0aee6e9a5660885 100644 |
--- a/test/cctest/compiler/test-run-jscalls.cc |
+++ b/test/cctest/compiler/test-run-jscalls.cc |
@@ -214,6 +214,7 @@ TEST(ContextLoadedFromActivation) { |
i::Handle<i::JSFunction> jsfun = Handle<JSFunction>::cast(ofun); |
jsfun->set_code(T.function->code()); |
jsfun->set_shared(T.function->shared()); |
+ jsfun->set_literals(T.function->literals()); |
CHECK(context->Global() |
->Set(context, v8_str("foo"), v8::Utils::CallableToLocal(jsfun)) |
.FromJust()); |
@@ -238,6 +239,7 @@ TEST(BuiltinLoadedFromActivation) { |
i::Handle<i::JSFunction> jsfun = Handle<JSFunction>::cast(ofun); |
jsfun->set_code(T.function->code()); |
jsfun->set_shared(T.function->shared()); |
+ jsfun->set_literals(T.function->literals()); |
CHECK(context->Global() |
->Set(context, v8_str("foo"), v8::Utils::CallableToLocal(jsfun)) |
.FromJust()); |