Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index ccebcaaf4464ec55613ebf86c218e1848018621a..5476a475f214c51d72dd88875a4badc0a632a2ac 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -322,6 +322,14 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::StoreKeyedProperty( |
} |
+BytecodeArrayBuilder& BytecodeArrayBuilder::CreateClosure( |
+ PretenureFlag tenured) { |
+ DCHECK(FitsInImm8Operand(tenured)); |
+ Output(Bytecode::kCreateClosure, static_cast<uint8_t>(tenured)); |
+ return *this; |
+} |
+ |
+ |
BytecodeArrayBuilder& BytecodeArrayBuilder::CastAccumulatorToBoolean() { |
if (LastBytecodeInSameBlock()) { |
// If the previous bytecode puts a boolean in the accumulator |