Chromium Code Reviews| Index: src/disassembler.cc |
| diff --git a/src/disassembler.cc b/src/disassembler.cc |
| index 8fe1e7feddb69a8e73d95627d71dd574e5861442..54a15a9939f6a4e558372164ff29069c068b4c49 100644 |
| --- a/src/disassembler.cc |
| +++ b/src/disassembler.cc |
| @@ -170,15 +170,7 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
| } |
| RelocInfo::Mode rmode = relocinfo.rmode(); |
| - if (RelocInfo::IsPosition(rmode)) { |
|
Michael Starzinger
2016/06/29 12:17:50
nit: Would it make sense to keep printing DEOPT_PO
|
| - if (RelocInfo::IsStatementPosition(rmode)) { |
| - out.AddFormatted(" ;; debug: statement %" V8PRIdPTR, |
| - relocinfo.data()); |
| - } else { |
| - out.AddFormatted(" ;; debug: position %" V8PRIdPTR, |
| - relocinfo.data()); |
| - } |
| - } else if (rmode == RelocInfo::DEOPT_REASON) { |
| + if (rmode == RelocInfo::DEOPT_REASON) { |
| Deoptimizer::DeoptReason reason = |
| static_cast<Deoptimizer::DeoptReason>(relocinfo.data()); |
| out.AddFormatted(" ;; debug: deopt reason '%s'", |