Index: src/hydrogen-osr.cc |
diff --git a/src/hydrogen-osr.cc b/src/hydrogen-osr.cc |
index 6b1df1e7a5b102106ab8f6a083503db1e28bcbc4..e95967e05d00d4996ed9d09ec818434dab02b910 100644 |
--- a/src/hydrogen-osr.cc |
+++ b/src/hydrogen-osr.cc |
@@ -63,8 +63,8 @@ HBasicBlock* HOsrBuilder::BuildPossibleOsrLoopEntry( |
HBasicBlock* non_osr_entry = graph->CreateBasicBlock(); |
osr_entry_ = graph->CreateBasicBlock(); |
HValue* true_value = graph->GetConstantTrue(); |
- HBranch* test = new(zone) HBranch(true_value, ToBooleanStub::Types(), |
- non_osr_entry, osr_entry_); |
+ HBranch* test = builder_->New<HBranch>(true_value, ToBooleanStub::Types(), |
+ non_osr_entry, osr_entry_); |
builder_->current_block()->Finish(test); |
HBasicBlock* loop_predecessor = graph->CreateBasicBlock(); |