Index: src/compiler/control-builders.cc |
diff --git a/src/compiler/control-builders.cc b/src/compiler/control-builders.cc |
index 8725244ebda11ef4cdf2e6b5e658844efffe364c..2978d8b6484a0fd2f0709b971db14cb3e9b2fc52 100644 |
--- a/src/compiler/control-builders.cc |
+++ b/src/compiler/control-builders.cc |
@@ -32,9 +32,8 @@ void IfBuilder::End() { |
} |
-void LoopBuilder::BeginLoop(BitVector* assigned) { |
- builder_->NewLoop(); |
- loop_environment_ = environment()->CopyForLoop(assigned); |
+void LoopBuilder::BeginLoop(BitVector* assigned, bool is_osr) { |
+ loop_environment_ = environment()->CopyForLoop(assigned, is_osr); |
continue_environment_ = environment()->CopyAsUnreachable(); |
break_environment_ = environment()->CopyAsUnreachable(); |
} |