| Index: src/compiler/basic-block-instrumentor.cc
|
| diff --git a/src/compiler/basic-block-instrumentor.cc b/src/compiler/basic-block-instrumentor.cc
|
| index 00291bba488bf63b66b32ce8945bec232628c68a..23170e701b3cf7bfa5378a126b25d14b9b5e3b0d 100644
|
| --- a/src/compiler/basic-block-instrumentor.cc
|
| +++ b/src/compiler/basic-block-instrumentor.cc
|
| @@ -81,11 +81,12 @@ BasicBlockProfiler::Data* BasicBlockInstrumentor::Instrument(
|
| // Construct increment operation.
|
| Node* base = graph->NewNode(
|
| PointerConstant(&common, data->GetCounterAddress(block_number)));
|
| - Node* load = graph->NewNode(machine.Load(kMachUint32), base, zero);
|
| + Node* load = graph->NewNode(machine.Load(kMachUint32), base, zero,
|
| + graph->start(), graph->start());
|
| Node* inc = graph->NewNode(machine.Int32Add(), load, one);
|
| Node* store = graph->NewNode(
|
| machine.Store(StoreRepresentation(kMachUint32, kNoWriteBarrier)), base,
|
| - zero, inc);
|
| + zero, inc, graph->start(), graph->start());
|
| // Insert the new nodes.
|
| static const int kArraySize = 6;
|
| Node* to_insert[kArraySize] = {zero, one, base, load, inc, store};
|
|
|