Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 7a803622f1ffd3ddb015bc1e40ceb7a018b7a298..3fb265a6aa5f2fe433bce2e1a1c05d6b2af54647 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1091,24 +1091,12 @@ enum AllocationSiteOverrideMode { |
class ArrayConstructorStub: public PlatformCodeStub { |
public: |
- enum ArgumentCountKey { ANY, NONE, ONE, MORE_THAN_ONE }; |
- |
- ArrayConstructorStub(Isolate* isolate, int argument_count); |
- |
explicit ArrayConstructorStub(Isolate* isolate); |
private: |
- ArgumentCountKey argument_count() const { |
- return ArgumentCountBits::decode(minor_key_); |
- } |
- |
void GenerateDispatchToArrayStub(MacroAssembler* masm, |
AllocationSiteOverrideMode mode); |
- void PrintName(std::ostream& os) const override; // NOLINT |
- |
- class ArgumentCountBits : public BitField<ArgumentCountKey, 0, 2> {}; |
- |
DEFINE_CALL_INTERFACE_DESCRIPTOR(ArrayNArgumentsConstructor); |
DEFINE_PLATFORM_CODE_STUB(ArrayConstructor, PlatformCodeStub); |
}; |