Chromium Code Reviews| Index: src/parser.cc |
| diff --git a/src/parser.cc b/src/parser.cc |
| index 35cc1c92d9ed911415846ab64eeb7de593d26dde..f9439d73820683eec44672ab71402536fa57b455 100644 |
| --- a/src/parser.cc |
| +++ b/src/parser.cc |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2011 the V8 project authors. All rights reserved. |
| +// Copyright 2012 the V8 project authors. All rights reserved. |
| // Redistribution and use in source and binary forms, with or without |
| // modification, are permitted provided that the following conditions are |
| // met: |
| @@ -4682,8 +4682,10 @@ Expression* Parser::NewThrowError(Handle<String> constructor, |
| elements->set(i, *element); |
| } |
| } |
| - Handle<JSArray> array = isolate()->factory()->NewJSArrayWithElements(elements, |
| - TENURED); |
| + Handle<JSArray> array = isolate()->factory()->NewJSArrayWithElements( |
| + elements, |
|
Jakob Kummerow
2012/01/23 17:16:55
nit: could put all three args onto the same line.
danno
2012/01/26 21:32:34
Done.
|
| + FAST_ELEMENTS, |
| + TENURED); |
| ZoneList<Expression*>* args = new(zone()) ZoneList<Expression*>(2); |
| args->Add(NewLiteral(type)); |