Chromium Code Reviews| Index: src/ast/ast-numbering.cc |
| diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
| index 620925406d17883ce231a952933b4b0fcaa9179e..2bdf817bfe783407288b2f6afe166c2672496f1e 100644 |
| --- a/src/ast/ast-numbering.cc |
| +++ b/src/ast/ast-numbering.cc |
| @@ -532,6 +532,9 @@ void AstNumberingVisitor::VisitArrayLiteral(ArrayLiteral* node) { |
| void AstNumberingVisitor::VisitCall(Call* node) { |
| + if (node->is_possibly_eval()) { |
| + DisableFullCodegenAndCrankshaft(kFunctionCallsEval); |
|
Michael Starzinger
2016/11/23 10:15:48
Just out of curiosity, are there cases where this
rmcilroy
2016/11/23 13:48:50
Yeah this didn't work without it. If I remember co
Michael Starzinger
2016/11/23 14:11:05
I briefly talked with Toon about this and he agree
|
| + } |
| IncrementNodeCount(); |
| ReserveFeedbackSlots(node); |
| node->set_base_id(ReserveIdRange(Call::num_ids())); |