diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-12 01:17:41 +0000 | 
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-12 01:17:41 +0000 | 
| commit | 3c49edcaa11f056c58f70e7374932625a4019f3a (patch) | |
| tree | 337fff3f0006e6a46ae307f7b6941f98b14849c4 /llvm/lib/ExecutionEngine | |
| parent | 9fa0a268082d11c09275cd0770dcb3aaec08e833 (diff) | |
| download | bcm5719-llvm-3c49edcaa11f056c58f70e7374932625a4019f3a.tar.gz bcm5719-llvm-3c49edcaa11f056c58f70e7374932625a4019f3a.zip | |
Change inferred cast creation calls to more specific cast creations.
llvm-svn: 32460
Diffstat (limited to 'llvm/lib/ExecutionEngine')
| -rw-r--r-- | llvm/lib/ExecutionEngine/JIT/JIT.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/ExecutionEngine/JIT/JIT.cpp b/llvm/lib/ExecutionEngine/JIT/JIT.cpp index 28c452d7fbd..4cfd907ee9b 100644 --- a/llvm/lib/ExecutionEngine/JIT/JIT.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JIT.cpp @@ -212,7 +212,7 @@ GenericValue JIT::runFunction(Function *F,        } else {          C = ConstantInt::get(Type::LongTy, (intptr_t)ArgPtr);        } -      C = ConstantExpr::getCast(C, ArgTy);  // Cast the integer to pointer +      C = ConstantExpr::getIntToPtr(C, ArgTy);  // Cast the integer to pointer        break;      }      Args.push_back(C); | 

