Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index b407be27e91553239526f9a52416f8c6dd0c8c50..dbb90bd8694c3ddc9703ad92bad6fcf92ffd9bfd 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -230,7 +230,8 @@ class BytecodeArrayBuilder final : public ZoneObject { |
BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode); |
// Tests. |
- BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg); |
+ BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg, |
+ int feedback_slot = kNoFeedbackSlot); |
// Casts accumulator and stores result in accumulator. |
BytecodeArrayBuilder& CastAccumulatorToBoolean(); |
@@ -400,6 +401,8 @@ class BytecodeArrayBuilder final : public ZoneObject { |
BytecodePipelineStage* pipeline_; |
BytecodeSourceInfo latest_source_info_; |
+ static int const kNoFeedbackSlot = 0; |
+ |
DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); |
}; |