Chromium Code Reviews| Index: src/factory.cc |
| =================================================================== |
| --- src/factory.cc (revision 1352) |
| +++ src/factory.cc (working copy) |
| @@ -601,11 +601,6 @@ |
| } |
| -Handle<JSArray> Factory::NewArrayLiteral(int length) { |
| - return NewJSArrayWithElements(NewFixedArray(length), TENURED); |
| -} |
| - |
| - |
| Handle<JSArray> Factory::NewJSArray(int length, |
| PretenureFlag pretenure) { |
| Handle<JSObject> obj = NewJSObject(Top::array_function(), pretenure); |