| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 332131a7cab880df8d057137c0f5001419221f63..234a2118bdd7002189906df3e21f6446869f594e 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -824,7 +824,7 @@ void Genesis::HookUpInnerGlobal(Handle<GlobalObject> inner_global) {
|
| // work in the snapshot case is done in HookUpInnerGlobal.
|
| void Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| Handle<JSFunction> empty_function) {
|
| - // --- G l o b a l C o n t e x t ---
|
| + // --- N a t i v e C o n t e x t ---
|
| // Use the empty function as closure (no scope info).
|
| native_context()->set_closure(*empty_function);
|
| native_context()->set_previous(NULL);
|
| @@ -2067,6 +2067,11 @@ bool Genesis::InstallExperimentalNatives() {
|
| "native harmony-array.js") == 0) {
|
| if (!CompileExperimentalBuiltin(isolate(), i)) return false;
|
| }
|
| + if (FLAG_harmony_maths &&
|
| + strcmp(ExperimentalNatives::GetScriptName(i).start(),
|
| + "native harmony-math.js") == 0) {
|
| + if (!CompileExperimentalBuiltin(isolate(), i)) return false;
|
| + }
|
| }
|
|
|
| InstallExperimentalNativeFunctions();
|
|
|