aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-24 16:05:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-24 16:05:35 +0000
commit7926286fbb6bb74e8c609f394d32351baf654303 (patch)
tree0ccd2620f2c2a4bcca062b1537ff70b8c6583ac5 /lib/MC
parent8c4f20bccc16c07414ae110da3ca009c25162d16 (diff)
downloadexternal_llvm-7926286fbb6bb74e8c609f394d32351baf654303.zip
external_llvm-7926286fbb6bb74e8c609f394d32351baf654303.tar.gz
external_llvm-7926286fbb6bb74e8c609f394d32351baf654303.tar.bz2
MCStreamer: Test printing values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCAsmStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
index d268fb7..efc9e65 100644
--- a/lib/MC/MCAsmStreamer.cpp
+++ b/lib/MC/MCAsmStreamer.cpp
@@ -121,7 +121,7 @@ void MCAsmStreamer::EmitValue(const MCValue &Value, unsigned Size) {
default:
assert(0 && "Invalid size for machine code value!");
case 1: OS << ".byte"; break;
- case 2: OS << ".hword"; break;
+ case 2: OS << ".short"; break;
case 4: OS << ".long"; break;
case 8: OS << ".quad"; break;
}