| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index c78bf9cd758336eda829bd1999d81a07dc2852b4..5488c1d98ba21a182ebe01b8d6d0e2f17b49bb61 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -859,6 +859,7 @@ bool Genesis::InitializeGlobal(Handle<GlobalObject> inner_global,
|
| isolate->initial_object_prototype(),
|
| Builtins::kArrayCode, true, true);
|
| array_function->shared()->DontAdaptArguments();
|
| + array_function->shared()->set_function_data(Smi::FromInt(kArrayCode));
|
|
|
| // This seems a bit hackish, but we need to make sure Array.length
|
| // is 1.
|
|
|