mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 21:16:19 +00:00
Remove this file as well as it is no longer needed nor it compiles
llvm-svn: 13762
This commit is contained in:
parent
756f392365
commit
84fac6229c
@ -1,25 +0,0 @@
|
||||
//===-- ValueHolder.cpp - Wrapper for Value implementation ----------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by the LLVM research group and is distributed under
|
||||
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This class defines a simple subclass of User, which keeps a pointer to a
|
||||
// Value, which automatically updates when Value::replaceAllUsesWith is called.
|
||||
// This is useful when you have pointers to Value's in your pass, but the
|
||||
// pointers get invalidated when some other portion of the algorithm is
|
||||
// replacing Values with other Values.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Support/ValueHolder.h"
|
||||
#include "llvm/Type.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
ValueHolder::ValueHolder(Value *V) : User(Type::TypeTy, Value::TypeVal) {
|
||||
Operands.push_back(Use(V, this));
|
||||
}
|
Loading…
Reference in New Issue
Block a user