diff options
Diffstat (limited to 'deps/v8/src/interpreter/bytecode-flags.cc')
-rw-r--r-- | deps/v8/src/interpreter/bytecode-flags.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/v8/src/interpreter/bytecode-flags.cc b/deps/v8/src/interpreter/bytecode-flags.cc index 158af13ea7..31ac88c1f7 100644 --- a/deps/v8/src/interpreter/bytecode-flags.cc +++ b/deps/v8/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); } |