Index: src/crankshaft/hydrogen-osr.cc |
diff --git a/src/crankshaft/hydrogen-osr.cc b/src/crankshaft/hydrogen-osr.cc |
index c98bbf627f958c936492f1b5b2c665d6ec458c41..8de3ac0705c14bde2ad2a91f0a82bfc6f75d1f5e 100644 |
--- a/src/crankshaft/hydrogen-osr.cc |
+++ b/src/crankshaft/hydrogen-osr.cc |
@@ -30,7 +30,7 @@ HBasicBlock* HOsrBuilder::BuildOsrLoopEntry(IterationStatement* statement) { |
HBasicBlock* non_osr_entry = graph->CreateBasicBlock(); |
osr_entry_ = graph->CreateBasicBlock(); |
HValue* true_value = graph->GetConstantTrue(); |
- HBranch* test = builder_->New<HBranch>(true_value, ToBooleanStub::Types(), |
+ HBranch* test = builder_->New<HBranch>(true_value, ToBooleanICStub::Types(), |
non_osr_entry, osr_entry_); |
builder_->FinishCurrentBlock(test); |