Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 9c176d57ac8e124e3b596fb7e02d5f7760e58470..852900f786571b7033ed901a09feaa4f61f5f177 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -359,7 +359,8 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
private: |
friend class BytecodeRegisterAllocator; |
- template <OperandType... operand_types> |
+ template <Bytecode bytecode, AccumulatorUse accumulator_use, |
+ OperandType... operand_types> |
friend class BytecodeNodeBuilder; |
// Returns the current source position for the given |bytecode|. |
@@ -387,7 +388,8 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
// during bytecode generation. |
BytecodeArrayBuilder& Illegal(); |
- void PrepareToOutputBytecode(Bytecode bytecode); |
+ template <Bytecode bytecode, AccumulatorUse accumulator_use> |
+ void PrepareToOutputBytecode(); |
void LeaveBasicBlock() { return_seen_in_block_ = false; } |