Mercurial > hg > CbC > CbC_llvm
diff lib/MC/MCInstPrinter.cpp @ 83:60c9769439b8 LLVM3.7
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | 95c75e76d11b |
children | afa8332a0e37 |
line wrap: on
line diff
--- a/lib/MC/MCInstPrinter.cpp Mon Sep 08 22:07:30 2014 +0900 +++ b/lib/MC/MCInstPrinter.cpp Wed Feb 18 14:55:36 2015 +0900 @@ -69,11 +69,11 @@ return false; } -format_object1<int64_t> MCInstPrinter::formatDec(const int64_t Value) const { +format_object<int64_t> MCInstPrinter::formatDec(int64_t Value) const { return format("%" PRId64, Value); } -format_object1<int64_t> MCInstPrinter::formatHex(const int64_t Value) const { +format_object<int64_t> MCInstPrinter::formatHex(int64_t Value) const { switch(PrintHexStyle) { case HexStyle::C: if (Value < 0) @@ -96,7 +96,7 @@ llvm_unreachable("unsupported print style"); } -format_object1<uint64_t> MCInstPrinter::formatHex(const uint64_t Value) const { +format_object<uint64_t> MCInstPrinter::formatHex(uint64_t Value) const { switch(PrintHexStyle) { case HexStyle::C: return format("0x%" PRIx64, Value);