mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
* ValueHolder now takes 3 arguments
* Added a few methods to ConstantPool * ConstPoolVal no longer derives from Value * Method & Module multiply inherit from SymTabValue & Value now * Added a GetElementPtrInst::isStructSelector() method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
3b7bfdb201
commit
a3d3c2b645
6 files changed
+20
-13
No files matched your search
@@ -106,10 +106,10 @@ void User::replaceUsesOfWith(Value *From, Value *To) {
|
||||
// Instantiate Templates - This ugliness is the price we have to pay
|
||||
// for having a ValueHolderImpl.h file seperate from ValueHolder.h! :(
|
||||
//
|
||||
template class ValueHolder<ConstPoolVal, SymTabValue>;
|
||||
template class ValueHolder<ConstPoolVal, SymTabValue, SymTabValue>;
|
||||
|
||||
SymTabValue::SymTabValue(const Type *Ty, ValueTy dty, const string &name = "")
|
||||
: Value(Ty, dty, name), ConstPool(this) {
|
||||
SymTabValue::SymTabValue(Value *p) : ConstPool(this), ValueParent(p) {
|
||||
assert(ValueParent && "SymTavValue without parent!?!");
|
||||
ParentSymTab = SymTab = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user