mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Commit more code over to new cast style
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@697 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,8 +94,8 @@ public:
|
||||
inline Method *back() { return MethodList.back(); }
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
static inline bool isa(const Module *T) { return true; }
|
||||
static inline bool isa(const Value *V) {
|
||||
static inline bool classof(const Module *T) { return true; }
|
||||
static inline bool classof(const Value *V) {
|
||||
return V->getValueType() == Value::ModuleVal;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user