mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Rename ConstPoolVal -> Constant
Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1407 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
#include "llvm/Analysis/LiveVar/ValueSet.h"
|
||||
#include "llvm/ConstPoolVals.h"
|
||||
#include "llvm/ConstantVals.h"
|
||||
|
||||
|
||||
void printValue( const Value *const v) // func to print a Value
|
||||
@@ -8,8 +8,8 @@ void printValue( const Value *const v) // func to print a Value
|
||||
|
||||
if (v->hasName())
|
||||
cerr << v << "(" << ((*v).getName()) << ") ";
|
||||
else if (v->getValueType() == Value::ConstantVal) // if const
|
||||
cerr << v << "(" << ((ConstPoolVal *) v)->getStrValue() << ") ";
|
||||
else if (Constant *C = dyn_cast<Constant>(v))
|
||||
cerr << v << "(" << C->getStrValue() << ") ";
|
||||
else
|
||||
cerr << v << " ";
|
||||
}
|
||||
|
Reference in New Issue
Block a user