diff options
Diffstat (limited to 'deps/v8/src/compiler/basic-block-instrumentor.cc')
-rw-r--r-- | deps/v8/src/compiler/basic-block-instrumentor.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/basic-block-instrumentor.cc b/deps/v8/src/compiler/basic-block-instrumentor.cc index 00291bba48..23170e701b 100644 --- a/deps/v8/src/compiler/basic-block-instrumentor.cc +++ b/deps/v8/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}; |