Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 4bc709a47e902d6f599e431e5a3a54ca2cac49ca..2c7e153c03f367b2f6f0249cc94768ce25034b22 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -129,6 +129,11 @@ class BytecodeArrayBuilder { |
BytecodeArrayBuilder& Jump(BytecodeLabel* label); |
BytecodeArrayBuilder& JumpIfTrue(BytecodeLabel* label); |
BytecodeArrayBuilder& JumpIfFalse(BytecodeLabel* label); |
+ // TODO(mythria) The following two functions should be merged into |
+ // JumpIfTrue/False. These bytecodes should be automatically chosen rather |
+ // than explicitly using them. |
+ BytecodeArrayBuilder& JumpIfToBooleanTrue(BytecodeLabel* label); |
+ BytecodeArrayBuilder& JumpIfToBooleanFalse(BytecodeLabel* label); |
BytecodeArrayBuilder& Return(); |
BytecodeArrayBuilder& EnterBlock(); |