| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 27335933cad546a24b50080c045baa38f4388a32..b411ec607ba19f07631fe56f53c46fd7bd525f7f 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -988,8 +988,6 @@ void Object::ShortPrint(FILE* out) {
|
| void Object::ShortPrint(StringStream* accumulator) {
|
| if (IsSmi()) {
|
| Smi::cast(this)->SmiPrint(accumulator);
|
| - } else if (IsFailure()) {
|
| - Failure::cast(this)->FailurePrint(accumulator);
|
| } else {
|
| HeapObject::cast(this)->HeapObjectShortPrint(accumulator);
|
| }
|
| @@ -1006,16 +1004,6 @@ void Smi::SmiPrint(StringStream* accumulator) {
|
| }
|
|
|
|
|
| -void Failure::FailurePrint(StringStream* accumulator) {
|
| - accumulator->Add("Failure(%p)", reinterpret_cast<void*>(value()));
|
| -}
|
| -
|
| -
|
| -void Failure::FailurePrint(FILE* out) {
|
| - PrintF(out, "Failure(%p)", reinterpret_cast<void*>(value()));
|
| -}
|
| -
|
| -
|
| // Should a word be prefixed by 'a' or 'an' in order to read naturally in
|
| // English? Returns false for non-ASCII or words that don't start with
|
| // a capital letter. The a/an rule follows pronunciation in English.
|
|
|