Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 3fb61534287c1ab7b1075cde2c58844be3e16ae3..41653eebbc8e8bc7ebcf363d40b482ca9e528c49 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -584,6 +584,28 @@ void CallConstructStub::PrintName(StringStream* stream) { |
} |
+void ArrayConstructorStub::PrintName(StringStream* stream) { |
+ stream->Add("ArrayConstructorStub"); |
+ switch (argument_count_) { |
+ case ANY: stream->Add("_Any"); break; |
+ case NONE: stream->Add("_None"); break; |
+ case ONE: stream->Add("_One"); break; |
+ case MORE_THAN_ONE: stream->Add("_More_Than_One") break;; |
+ } |
+} |
+ |
+ |
+void ArrayConstructorStubBase::BasePrintName(const char* name, |
+ StringStream* stream) { |
+ stream->Add(name); |
+ stream->Add("_"); |
+ stream->Add(ElementsKindToString(elements_kind())); |
+ if (override_mode() == DISABLE_ALLOCATION_SITES) { |
+ stream->Add("_DISABLE_ALLOCATION_SITES"); |
+ } |
+} |
+ |
+ |
bool ToBooleanStub::UpdateStatus(Handle<Object> object) { |
Types old_types(types_); |
bool to_boolean_value = types_.UpdateStatus(object); |