Chromium Code Reviews| Index: src/compiler.cc |
| =================================================================== |
| --- src/compiler.cc (revision 3146) |
| +++ src/compiler.cc (working copy) |
| @@ -725,7 +725,14 @@ |
| void CodeGenSelector::VisitCallNew(CallNew* expr) { |
| - BAILOUT("CallNew"); |
| + Visit(expr->expression()); |
| + CHECK_BAILOUT; |
| + ZoneList<Expression*>* args = expr->arguments(); |
| + // Check all arguments to the call |
| + for (int i = 0; i < args->length(); i++) { |
| + Visit(args->at(i)); |
| + CHECK_BAILOUT; |
| + } |
| } |