Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 93a8b44cc76a20f5ead4c98ab508910aa5fac607..27e683574f86eb0c581169724743b43b9eda80ab 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1208,8 +1208,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
isolate->initial_object_prototype(), Builtins::kSymbolConstructor); |
symbol_fun->shared()->set_construct_stub( |
*isolate->builtins()->SymbolConstructor_ConstructStub()); |
- symbol_fun->shared()->set_internal_formal_parameter_count(1); |
symbol_fun->shared()->set_length(1); |
+ symbol_fun->shared()->DontAdaptArguments(); |
native_context()->set_symbol_function(*symbol_fun); |
} |
@@ -2464,7 +2464,7 @@ bool Genesis::InstallNatives(ContextType context_type) { |
{ |
Handle<JSFunction> eval = SimpleInstallFunction( |
handle(native_context()->global_object()), factory()->eval_string(), |
- Builtins::kGlobalEval, 1, true); |
+ Builtins::kGlobalEval, 1, false); |
native_context()->set_global_eval_fun(*eval); |
} |