Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 8800bf1e19fb0307db82aabf162795be4725a04f..993aba448ed4c5368edf0b5badf643137f539f44 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1259,7 +1259,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
prototype, Builtins::kSymbolConstructor); |
symbol_fun->shared()->set_construct_stub( |
*isolate->builtins()->SymbolConstructor_ConstructStub()); |
- symbol_fun->shared()->set_length(1); |
+ symbol_fun->shared()->set_length(0); |
symbol_fun->shared()->DontAdaptArguments(); |
native_context()->set_symbol_function(*symbol_fun); |