aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-12-14 22:34:45 +0000
committerKevin Enderby <enderby@apple.com>2011-12-14 22:34:45 +0000
commitc3fc3136a1760601458267163ea0fe6d7e4af72b (patch)
tree5551b5fa9f745cc4abf4a534f2c68ef5055323e4 /test/MC/AsmParser
parent19154f457696f286b4a597179fa07e3b38ea0310 (diff)
downloadexternal_llvm-c3fc3136a1760601458267163ea0fe6d7e4af72b.zip
external_llvm-c3fc3136a1760601458267163ea0fe6d7e4af72b.tar.gz
external_llvm-c3fc3136a1760601458267163ea0fe6d7e4af72b.tar.bz2
Improve the implementation of .incbin directive by replacing a loop by using
getStreamer().EmitBytes. Suggestion by Benjamin Kramer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r--test/MC/AsmParser/directive_incbin.s5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/MC/AsmParser/directive_incbin.s b/test/MC/AsmParser/directive_incbin.s
index 230573c..55f9c79 100644
--- a/test/MC/AsmParser/directive_incbin.s
+++ b/test/MC/AsmParser/directive_incbin.s
@@ -3,7 +3,4 @@
.data
.incbin "incbin_abcd"
-# CHECK: .byte 97
-# CHECK: .byte 98
-# CHECK: .byte 99
-# CHECK: .byte 100
+# CHECK: .ascii "abcd\n"