Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index d3d64bf68eaa61370503cbf649e8544d9c0b24d4..93b46e3125ed80b6ef7314fe2f91338a0a2d404b 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* properties_count); |
+ |
+ static bool IsSupported(ObjectLiteral* expr); |
+ static int PropertiesCount(int literal_length); |
+ |
int length() const { return LengthBits::decode(minor_key_); } |
private: |