mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Fixes for PR114: Thanks to Reid Spencer!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10029 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -96,7 +96,7 @@ template<> struct simplify_type<User::op_iterator> {
|
||||
typedef Value* SimpleType;
|
||||
|
||||
static SimpleType getSimplifiedValue(const User::op_iterator &Val) {
|
||||
return (SimpleType)Val->get();
|
||||
return static_cast<SimpleType>(Val->get());
|
||||
}
|
||||
};
|
||||
template<> struct simplify_type<const User::op_iterator>
|
||||
@@ -106,7 +106,7 @@ template<> struct simplify_type<User::const_op_iterator> {
|
||||
typedef Value* SimpleType;
|
||||
|
||||
static SimpleType getSimplifiedValue(const User::const_op_iterator &Val) {
|
||||
return (SimpleType)Val->get();
|
||||
return static_cast<SimpleType>(Val->get());
|
||||
}
|
||||
};
|
||||
template<> struct simplify_type<const User::const_op_iterator>
|
||||
|
Reference in New Issue
Block a user