mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +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:
@@ -41,7 +41,7 @@ static inline void RemapInstruction(Instruction *I,
|
||||
for (unsigned op = 0, E = I->getNumOperands(); op != E; ++op) {
|
||||
const Value *Op = I->getOperand(op);
|
||||
Value *V = ValueMap[Op];
|
||||
if (!V && (isa<GlobalValue>(Op) || isa<ConstPoolVal>(Op)))
|
||||
if (!V && (isa<GlobalValue>(Op) || isa<Constant>(Op)))
|
||||
continue; // Globals and constants don't get relocated
|
||||
|
||||
if (!V) {
|
||||
|
Reference in New Issue
Block a user