diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-24 23:12:02 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-24 23:12:02 +0000 |
commit | edb4a703255623eef2c56e644f9fdc04cadd7336 (patch) | |
tree | 0ef285683687c1c927ff68af16d77b3645e0d66d /llvm/examples/BrainF/BrainFDriver.cpp | |
parent | fcd54f73bf465f9fa7a820344642f848b5285a3b (diff) | |
download | llvm-edb4a703255623eef2c56e644f9fdc04cadd7336.zip llvm-edb4a703255623eef2c56e644f9fdc04cadd7336.tar.gz llvm-edb4a703255623eef2c56e644f9fdc04cadd7336.tar.bz2 |
Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come.
llvm-svn: 77011
Diffstat (limited to 'llvm/examples/BrainF/BrainFDriver.cpp')
-rw-r--r-- | llvm/examples/BrainF/BrainFDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/BrainF/BrainFDriver.cpp b/llvm/examples/BrainF/BrainFDriver.cpp index fba79cf..8c62ae2 100644 --- a/llvm/examples/BrainF/BrainFDriver.cpp +++ b/llvm/examples/BrainF/BrainFDriver.cpp @@ -80,7 +80,7 @@ void addMainFunction(Module *mod) { } //ret i32 0 - ReturnInst::Create(getGlobalContext().getConstantInt(APInt(32, 0)), bb); + ReturnInst::Create(ConstantInt::get(getGlobalContext(), APInt(32, 0)), bb); } int main(int argc, char **argv) { |