diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-24 05:30:14 +0000 |
commit | 44c3d472c61954e7d17328e0214cbd1d2b6c962d (patch) | |
tree | 4ed9c157cdca2d8727cbd7171e89b85caebbc02f /lib/CodeGen/MachineModuleInfo.cpp | |
parent | da17a81c88162e6dfc070f18b14e34f194697407 (diff) | |
download | external_llvm-44c3d472c61954e7d17328e0214cbd1d2b6c962d.zip external_llvm-44c3d472c61954e7d17328e0214cbd1d2b6c962d.tar.gz external_llvm-44c3d472c61954e7d17328e0214cbd1d2b6c962d.tar.bz2 |
"I got annoyed at the compiler warnings from ConstantInt::get(Ty, -1,
true), and casts make me nervous and are verbose anyway, so here's a
ConstantInt::getSigned(Ty, int64_t) method. Just overloading
ConstantInt::get() to take an int64_t too would cause ambiguous
overload errors."
Patch by Jeffrey Yasskin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions