Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index e4a0603b41e9647659360e2d8e738b63096c1ebc..bad6477859badcc67a77ae3f748f45e5be52ed17 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -152,13 +152,16 @@ void BytecodeArrayBuilder::Output(Bytecode bytecode) { |
} |
BytecodeArrayBuilder& BytecodeArrayBuilder::BinaryOperation(Token::Value op, |
- Register reg) { |
- Output(BytecodeForBinaryOperation(op), RegisterOperand(reg)); |
+ Register reg, |
+ int feedback_slot) { |
+ Output(BytecodeForBinaryOperation(op), RegisterOperand(reg), |
+ UnsignedOperand(feedback_slot)); |
return *this; |
} |
-BytecodeArrayBuilder& BytecodeArrayBuilder::CountOperation(Token::Value op) { |
- Output(BytecodeForCountOperation(op)); |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CountOperation(Token::Value op, |
+ int feedback_slot) { |
+ Output(BytecodeForCountOperation(op), UnsignedOperand(feedback_slot)); |
return *this; |
} |