mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
* Both Method & GlobalVariable now subclass GlobalValue
* ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -106,7 +106,7 @@ ConstPoolStruct::ConstPoolStruct(const StructType *T,
|
||||
|
||||
ConstPoolPointer::ConstPoolPointer(const PointerType *T) : ConstPoolVal(T) {}
|
||||
|
||||
ConstPoolPointerReference::ConstPoolPointerReference(GlobalVariable *GV)
|
||||
ConstPoolPointerReference::ConstPoolPointerReference(GlobalValue *GV)
|
||||
: ConstPoolPointer(GV->getType()) {
|
||||
Operands.push_back(Use(GV, this));
|
||||
}
|
||||
|
Reference in New Issue
Block a user