| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index f357e88dcd17dc9ad38c7611664a2745f44c77a6..4270f0e82f262bf1881930fa809a6f80b34bc89f 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -987,8 +987,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);
|
| }
|
| @@ -1005,16 +1003,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.
|
|
|