Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index ed08fcf8b68fbfffcb23b0878c223ea809a53a16..d8bb3aee941f5bf41cfa51fd2be0bbc165b170c1 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -74,7 +74,6 @@ namespace internal { |
V(CEntry) \ |
V(JSEntry) \ |
V(KeyedLoadElement) \ |
- V(ArrayPush) \ |
V(ArrayNoArgumentConstructor) \ |
V(ArraySingleArgumentConstructor) \ |
V(ArrayNArgumentsConstructor) \ |
@@ -1165,30 +1164,6 @@ class BinaryOpICStub : public HydrogenCodeStub { |
}; |
-class ArrayPushStub: public PlatformCodeStub { |
- public: |
- ArrayPushStub(ElementsKind kind, int argc) { |
- bit_field_ = ElementsKindBits::encode(kind) | ArgcBits::encode(argc); |
- } |
- |
- void Generate(MacroAssembler* masm); |
- |
- private: |
- int arguments_count() { return ArgcBits::decode(bit_field_); } |
- ElementsKind elements_kind() { |
- return ElementsKindBits::decode(bit_field_); |
- } |
- |
- virtual CodeStub::Major MajorKey() { return ArrayPush; } |
- virtual int MinorKey() { return bit_field_; } |
- |
- class ElementsKindBits: public BitField<ElementsKind, 0, 3> {}; |
- class ArgcBits: public BitField<int, 3, Code::kArgumentsBits> {}; |
- |
- int bit_field_; |
-}; |
- |
- |
// TODO(bmeurer): Merge this into the BinaryOpICStub once we have proper tail |
// call support for stubs in Hydrogen. |
class BinaryOpICWithAllocationSiteStub V8_FINAL : public PlatformCodeStub { |