Chromium Code Reviews| Index: src/codegen.cc |
| diff --git a/src/codegen.cc b/src/codegen.cc |
| index e6fcecde7bfd301a4ccd4573840d100a72cd01f4..51841c2466866d03c6017fe538ba1b703f148906 100644 |
| --- a/src/codegen.cc |
| +++ b/src/codegen.cc |
| @@ -475,8 +475,13 @@ const char* GenericUnaryOpStub::GetName() { |
| void ArgumentsAccessStub::Generate(MacroAssembler* masm) { |
| switch (type_) { |
| - case READ_ELEMENT: GenerateReadElement(masm); break; |
| - case NEW_OBJECT: GenerateNewObject(masm); break; |
| + case READ_ELEMENT: |
| + GenerateReadElement(masm); |
| + break; |
| + case NEW_NON_STRICT: |
| + case NEW_STRICT: |
| + GenerateNewObject(masm); |
| + break; |
| } |
| } |