Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f2de6166d3aefb8aa47b768dde69e0df08442560..c1773422855c34a7655714683d22fec280783c02 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -740,6 +740,7 @@ class ArrayConstructorStub: public PlatformCodeStub { |
private: |
void GenerateDispatchToArrayStub(MacroAssembler* masm, |
AllocationSiteOverrideMode mode); |
+ virtual void PrintName(StringStream* stream); |
virtual CodeStub::Major MajorKey() { return ArrayConstructor; } |
virtual int MinorKey() { return argument_count_; } |
@@ -1936,6 +1937,9 @@ class ArrayConstructorStubBase : public HydrogenCodeStub { |
static const int kConstructor = 0; |
static const int kPropertyCell = 1; |
+ protected: |
+ void BasePrintName(const char* name, StringStream* stream); |
+ |
private: |
int NotMissMinorKey() { return bit_field_; } |
@@ -1971,6 +1975,10 @@ class ArrayNoArgumentConstructorStub : public ArrayConstructorStubBase { |
private: |
Major MajorKey() { return ArrayNoArgumentConstructor; } |
+ virtual void PrintName(StringStream* stream) { |
+ BasePrintName("ArrayNoArgumentConstructorStub", stream); |
+ } |
+ |
DISALLOW_COPY_AND_ASSIGN(ArrayNoArgumentConstructorStub); |
}; |
@@ -1993,6 +2001,10 @@ class ArraySingleArgumentConstructorStub : public ArrayConstructorStubBase { |
private: |
Major MajorKey() { return ArraySingleArgumentConstructor; } |
+ virtual void PrintName(StringStream* stream) { |
+ BasePrintName("ArraySingleArgumentConstructorStub", stream); |
+ } |
+ |
DISALLOW_COPY_AND_ASSIGN(ArraySingleArgumentConstructorStub); |
}; |
@@ -2015,6 +2027,10 @@ class ArrayNArgumentsConstructorStub : public ArrayConstructorStubBase { |
private: |
Major MajorKey() { return ArrayNArgumentsConstructor; } |
+ virtual void PrintName(StringStream* stream) { |
+ BasePrintName("ArrayNArgumentsConstructorStub", stream); |
+ } |
+ |
DISALLOW_COPY_AND_ASSIGN(ArrayNArgumentsConstructorStub); |
}; |