summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-02-26 23:46:39 +0000
committerAdrian Prantl <aprantl@apple.com>2014-02-26 23:46:39 +0000
commite31563c4aa7a5608bdc775549d6fe38c40a1fd54 (patch)
treefb4e35632d4564078fc85e3b410158a0ca7b7e29 /llvm/lib/CodeGen/AsmPrinter
parenta13839f5ca8f72d480f09c6eaed1f4e8bd49fb0d (diff)
downloadbcm5719-llvm-e31563c4aa7a5608bdc775549d6fe38c40a1fd54.tar.gz
bcm5719-llvm-e31563c4aa7a5608bdc775549d6fe38c40a1fd54.zip
Fix a type error that crept into r202313.
llvm-svn: 202317
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 32d36a086fc..548ef97962d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -888,7 +888,7 @@ static void emitDwarfRegOp(const AsmPrinter &AP, int Reg) {
/// Emit an (double-)indirect dwarf register operation.
static void emitDwarfRegOpIndirect(const AsmPrinter &AP,
- int Reg, unsigned Offset, bool Deref) {
+ int Reg, int Offset, bool Deref) {
assert(Reg >= 0);
if (Reg < 32) {
AP.OutStreamer.AddComment(dwarf::
OpenPOWER on IntegriCloud