| Index: src/compiler/js-inlining.cc
|
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc
|
| index d143382dfd047a71ce3f868e92f308bd57f63d4c..32c381f3c6b71c0211daedee6343e0e4e2c756a1 100644
|
| --- a/src/compiler/js-inlining.cc
|
| +++ b/src/compiler/js-inlining.cc
|
| @@ -407,10 +407,8 @@ void JSInliner::TryInlineJSCall(Node* call_node) {
|
| CreateArgumentsAdaptorFrameState(&call, function, info.zone());
|
| }
|
|
|
| - for (NodeVectorConstIter it = visitor.copies().begin();
|
| - it != visitor.copies().end(); ++it) {
|
| - Node* node = *it;
|
| - if (node != NULL && node->opcode() == IrOpcode::kFrameState) {
|
| + for (Node* node : visitor.copies()) {
|
| + if (node && node->opcode() == IrOpcode::kFrameState) {
|
| AddClosureToFrameState(node, function);
|
| NodeProperties::ReplaceFrameStateInput(node, outer_frame_state);
|
| }
|
|
|