Index: src/interpreter/control-flow-builders.cc |
diff --git a/src/interpreter/control-flow-builders.cc b/src/interpreter/control-flow-builders.cc |
index 8e287aaea44881570d87ad8e6f7907e28c17c67f..c14a901aa687da42f170ba31ec6072e060618ea9 100644 |
--- a/src/interpreter/control-flow-builders.cc |
+++ b/src/interpreter/control-flow-builders.cc |
@@ -81,10 +81,16 @@ void BreakableControlFlowBuilder::BindLabels(const BytecodeLabel& target, |
} |
+void BlockBuilder::EndBlock() { |
+ builder()->Bind(&block_end_); |
+ SetBreakTarget(block_end_); |
+} |
+ |
+ |
LoopBuilder::~LoopBuilder() { DCHECK(continue_sites_.empty()); } |
-void LoopBuilder::LoopEnd() { |
+void LoopBuilder::EndLoop() { |
// Loop must have closed form, i.e. all loop elements are within the loop, |
// the loop header precedes the body and next elements in the loop. |
DCHECK(loop_header_.is_bound()); |