| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index d3d64bf68eaa61370503cbf649e8544d9c0b24d4..0e4e0fff473835b8e9b0bea15dda6c8baa9be502 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1146,6 +1146,14 @@ class FastCloneShallowObjectStub : public TurboFanCodeStub {
|
| minor_key_ = LengthBits::encode(LengthBits::encode(length));
|
| }
|
|
|
| + static compiler::Node* GenerateFastPath(
|
| + CodeStubAssembler* assembler,
|
| + compiler::CodeAssembler::Label* call_runtime, compiler::Node* closure,
|
| + compiler::Node* literals_index, compiler::Node* object_size);
|
| +
|
| + static bool IsSupported(ObjectLiteral* expr);
|
| + static int PropertiesCount(int literal_length);
|
| +
|
| int length() const { return LengthBits::decode(minor_key_); }
|
|
|
| private:
|
|
|