Index: src/interpreter/bytecode-flags.cc |
diff --git a/src/interpreter/bytecode-flags.cc b/src/interpreter/bytecode-flags.cc |
index 9b25dbd230959d2f330f93651725eeca2df966d8..158af13ea73edd39372cfcecef332e29628112da 100644 |
--- a/src/interpreter/bytecode-flags.cc |
+++ b/src/interpreter/bytecode-flags.cc |
@@ -11,6 +11,14 @@ namespace internal { |
namespace interpreter { |
// static |
+uint8_t CreateArrayLiteralFlags::Encode(bool use_fast_shallow_clone, |
+ int runtime_flags) { |
+ uint8_t result = FlagsBits::encode(runtime_flags); |
+ result |= FastShallowCloneBit::encode(use_fast_shallow_clone); |
+ return result; |
+} |
+ |
+// static |
uint8_t CreateObjectLiteralFlags::Encode(bool fast_clone_supported, |
int properties_count, |
int runtime_flags) { |