Lanai: fix debug build

There's currently no raw_ostream &operator<<(SimpleValueType); provided by LLVM. It could be added by refactoring utils/TableGen/CodeGenTarget.cpp:getEnumName, but that's much more work than fixing the build.

llvm-svn: 266627
This commit is contained in:
JF Bastien 2016-04-18 16:33:41 +00:00
parent 8c273ad719
commit 246e796bcd
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ SDValue LanaiTargetLowering::LowerCCCArguments(
}
default:
DEBUG(dbgs() << "LowerFormalArguments Unhandled argument type: "
<< RegVT.getSimpleVT().SimpleTy << "\n");
<< (int)RegVT.getSimpleVT().SimpleTy << "\n");
llvm_unreachable("unhandled argument type");
}
} else {