Index: src/codegen.cc |
diff --git a/src/codegen.cc b/src/codegen.cc |
index 4e5c781361bacd25cf6ff46b6b3a04a07097ea23..ad3cf1bf4cc76b1c9cd2acce5377050f346a0f1f 100644 |
--- a/src/codegen.cc |
+++ b/src/codegen.cc |
@@ -209,14 +209,9 @@ void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
case READ_ELEMENT: |
GenerateReadElement(masm); |
break; |
- case NEW_NON_STRICT_FAST: |
- GenerateNewNonStrictFast(masm); |
- break; |
- case NEW_NON_STRICT_SLOW: |
- GenerateNewNonStrictSlow(masm); |
- break; |
+ case NEW_NON_STRICT: |
case NEW_STRICT: |
- GenerateNewStrict(masm); |
+ GenerateNewObject(masm); |
break; |
} |
} |