mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Remove MetadataBase class because it is not adding significant value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,7 +28,7 @@ using namespace llvm;
|
||||
//
|
||||
|
||||
MDString::MDString(LLVMContext &C, StringRef S)
|
||||
: MetadataBase(Type::getMetadataTy(C), Value::MDStringVal), Str(S) {}
|
||||
: Value(Type::getMetadataTy(C), Value::MDStringVal), Str(S) {}
|
||||
|
||||
MDString *MDString::get(LLVMContext &Context, StringRef Str) {
|
||||
LLVMContextImpl *pImpl = Context.pImpl;
|
||||
@@ -93,7 +93,7 @@ static MDNodeOperand *getOperandPtr(MDNode *N, unsigned Op) {
|
||||
|
||||
MDNode::MDNode(LLVMContext &C, Value *const *Vals, unsigned NumVals,
|
||||
bool isFunctionLocal)
|
||||
: MetadataBase(Type::getMetadataTy(C), Value::MDNodeVal) {
|
||||
: Value(Type::getMetadataTy(C), Value::MDNodeVal) {
|
||||
NumOperands = NumVals;
|
||||
|
||||
if (isFunctionLocal)
|
||||
|
||||
Reference in New Issue
Block a user