Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 26b5414b3a6b79305c066696a13cc0ef1a6622c9..6d3d66c4ec5ca5374c1a08479d37c8ab9302f3ba 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -645,6 +645,24 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::Return() { |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::ForInPrepare() { |
+ Output(Bytecode::kForInPrepare); |
+ return *this; |
+} |
+ |
+ |
+BytecodeArrayBuilder& BytecodeArrayBuilder::ForInNext(Register for_in_state) { |
+ Output(Bytecode::kForInNext, for_in_state.ToOperand()); |
+ return *this; |
+} |
+ |
+ |
+BytecodeArrayBuilder& BytecodeArrayBuilder::ForInDone(Register for_in_state) { |
+ Output(Bytecode::kForInDone, for_in_state.ToOperand()); |
+ return *this; |
+} |
+ |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::EnterBlock() { return *this; } |