Index: src/interpreter/bytecode-flags.cc |
diff --git a/src/interpreter/bytecode-flags.cc b/src/interpreter/bytecode-flags.cc |
index 158af13ea73edd39372cfcecef332e29628112da..31ac88c1f75e718e3277f35a07c0224d820c863f 100644 |
--- a/src/interpreter/bytecode-flags.cc |
+++ b/src/interpreter/bytecode-flags.cc |
@@ -4,6 +4,7 @@ |
#include "src/interpreter/bytecode-flags.h" |
+#include "src/builtins/builtins-constructor.h" |
#include "src/code-stubs.h" |
namespace v8 { |
@@ -25,10 +26,11 @@ uint8_t CreateObjectLiteralFlags::Encode(bool fast_clone_supported, |
uint8_t result = FlagsBits::encode(runtime_flags); |
if (fast_clone_supported) { |
STATIC_ASSERT( |
- FastCloneShallowObjectStub::kMaximumClonedProperties <= |
+ ConstructorBuiltinsAssembler::kMaximumClonedShallowObjectProperties <= |
1 << CreateObjectLiteralFlags::FastClonePropertiesCountBits::kShift); |
- DCHECK_LE(properties_count, |
- FastCloneShallowObjectStub::kMaximumClonedProperties); |
+ DCHECK_LE( |
+ properties_count, |
+ ConstructorBuiltinsAssembler::kMaximumClonedShallowObjectProperties); |
result |= CreateObjectLiteralFlags::FastClonePropertiesCountBits::encode( |
properties_count); |
} |