Commit c1f855ab authored by yangguo's avatar yangguo Committed by Commit bot

Fix test-heap/BootstrapperExports on no-snap builds

NOTRY=true
NOTREECHECKS=true
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1137143003

Cr-Commit-Position: refs/heads/master@{#28368}
parent 46f992dd
......@@ -1923,6 +1923,11 @@ bool Genesis::InstallNatives() {
"container to export to experimental natives");
native_context()->set_builtin_exports_object(*builtin_exports);
if (FLAG_expose_natives_as != NULL) {
Handle<String> shared_key = factory()->NewStringFromAsciiChecked("shared");
JSObject::AddProperty(builtins, shared_key, shared, NONE);
}
{ // -- S c r i p t
// Builtin functions for Script.
Handle<JSFunction> script_fun = InstallFunction(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment