Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 26bf35b0f24f6d457b0bda77af443cf546500283..30a384da3267cff10467a60fece25c21cc092e84 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -618,12 +618,12 @@ void Smi::SmiPrint(StringStream* accumulator) { |
void Failure::FailurePrint(StringStream* accumulator) { |
- accumulator->Add("Failure(%d)", value()); |
+ accumulator->Add("Failure(%p)", reinterpret_cast<void*>(value())); |
} |
void Failure::FailurePrint() { |
- PrintF("Failure(%d)", value()); |
+ PrintF("Failure(%p)", reinterpret_cast<void*>(value())); |
} |