Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: src/compiler/control-builders.h

Issue 850803002: First simple implementation of for-of in TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/control-builders.h
diff --git a/src/compiler/control-builders.h b/src/compiler/control-builders.h
index e8e3305db2800608e4925c386a87279924fca8b0..ba04107dbc54f838dfcdbe7ccbff3691577992a5 100644
--- a/src/compiler/control-builders.h
+++ b/src/compiler/control-builders.h
@@ -77,8 +77,9 @@ class LoopBuilder FINAL : public ControlBuilder {
void Continue() FINAL;
void Break() FINAL;
- // Compound control command for conditional break.
+ // Compound control commands for conditional break.
void BreakUnless(Node* condition);
+ void BreakWhen(Node* condition);
private:
Environment* loop_environment_; // Environment of the loop header.

Powered by Google App Engine
This is Rietveld 408576698