| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index bd4435f43e9e1b295bec4792f5b045e8ab3f66ac..0000e73e0cd6a06d1c06198f164880f046206b8d 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();
|
|
|