| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 090f88423a70c1830dca40be5434556a10772464..75b0364cc4a7b45fb1cae7715bcfb280c15b4aef 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1134,6 +1134,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* properties_count);
|
| +
|
| + static bool IsSupported(ObjectLiteral* expr);
|
| + static int PropertiesCount(int literal_length);
|
| +
|
| int length() const { return LengthBits::decode(minor_key_); }
|
|
|
| private:
|
|
|