| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index b1d6024e0ae7eb9544ddcf1dec1f2f11c32e51b4..6650c0465213d58de1c0b1315371715eee80391c 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -1230,6 +1230,17 @@ static Object* Runtime_RegExpExec(Arguments args) {
|
| }
|
|
|
|
|
| +static Object* Runtime_FinishArrayPrototypeSetup(Arguments args) {
|
| + HandleScope scope;
|
| + ASSERT(args.length() == 1);
|
| + CONVERT_ARG_CHECKED(JSArray, prototype, 0);
|
| + // This is necessary to enable fast checks for absence of elements
|
| + // on Array.prototype and below.
|
| + prototype->set_elements(Heap::empty_fixed_array());
|
| + return Smi::FromInt(0);
|
| +}
|
| +
|
| +
|
| static Object* Runtime_MaterializeRegExpLiteral(Arguments args) {
|
| HandleScope scope;
|
| ASSERT(args.length() == 4);
|
|
|