| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 14c97c832f18c2e9aa329f44c3e7838c6f31bfd3..d504d36e2f9fd4f4b82529564146410183bf09ed 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -2224,6 +2224,19 @@ void BytecodeGraphBuilder::VisitDebugger() {
|
| DEBUG_BREAK_BYTECODE_LIST(DEBUG_BREAK);
|
| #undef DEBUG_BREAK
|
|
|
| +void BytecodeGraphBuilder::VisitIncBlockCounter() {
|
| + DCHECK(FLAG_block_coverage);
|
| +
|
| + Node* closure = GetFunctionClosure();
|
| + Node* coverage_array_slot =
|
| + jsgraph()->Constant(bytecode_iterator().GetImmediateOperand(0));
|
| +
|
| + const Operator* op = javascript()->CallRuntime(Runtime::kIncBlockCounter);
|
| +
|
| + Node* node = NewNode(op, closure, coverage_array_slot);
|
| + environment()->RecordAfterState(node, Environment::kAttachFrameState);
|
| +}
|
| +
|
| void BytecodeGraphBuilder::VisitForInPrepare() {
|
| PrepareEagerCheckpoint();
|
| Node* receiver =
|
|
|