mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
For PR1043:
Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -191,7 +191,7 @@ GenericValue JIT::runFunction(Function *F,
|
||||
const GenericValue &AV = ArgValues[i];
|
||||
switch (ArgTy->getTypeID()) {
|
||||
default: assert(0 && "Unknown argument type for function call!");
|
||||
case Type::BoolTyID: C = ConstantBool::get(AV.BoolVal); break;
|
||||
case Type::BoolTyID: C = ConstantInt::get(AV.BoolVal); break;
|
||||
case Type::Int8TyID: C = ConstantInt::get(ArgTy, AV.Int8Val); break;
|
||||
case Type::Int16TyID: C = ConstantInt::get(ArgTy, AV.Int16Val); break;
|
||||
case Type::Int32TyID: C = ConstantInt::get(ArgTy, AV.Int32Val); break;
|
||||
|
Reference in New Issue
Block a user