mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
The ConstRules class got moved to the opt namespace
llvm-svn: 110
This commit is contained in:
parent
57248a3460
commit
6ba8542caa
@ -17,7 +17,9 @@
|
|||||||
|
|
||||||
#include "llvm/Value.h"
|
#include "llvm/Value.h"
|
||||||
|
|
||||||
class ConstRules;
|
namespace opt {
|
||||||
|
class ConstRules;
|
||||||
|
}
|
||||||
class ConstPoolVal;
|
class ConstPoolVal;
|
||||||
|
|
||||||
class Type : public Value {
|
class Type : public Value {
|
||||||
@ -59,7 +61,7 @@ private:
|
|||||||
unsigned UID; // The unique ID number for this class
|
unsigned UID; // The unique ID number for this class
|
||||||
|
|
||||||
// ConstRulesImpl - See Opt/ConstantHandling.h for more info
|
// ConstRulesImpl - See Opt/ConstantHandling.h for more info
|
||||||
mutable const ConstRules *ConstRulesImpl;
|
mutable const opt::ConstRules *ConstRulesImpl;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// ctor is protected, so only subclasses can create Type objects...
|
// ctor is protected, so only subclasses can create Type objects...
|
||||||
@ -86,8 +88,8 @@ public:
|
|||||||
// Methods for dealing with constants uniformly. See Opt/ConstantHandling.h
|
// Methods for dealing with constants uniformly. See Opt/ConstantHandling.h
|
||||||
// for more info on this...
|
// for more info on this...
|
||||||
//
|
//
|
||||||
inline const ConstRules *getConstRules() const { return ConstRulesImpl; }
|
inline const opt::ConstRules *getConstRules() const { return ConstRulesImpl; }
|
||||||
inline void setConstRules(const ConstRules *R) const { ConstRulesImpl = R; }
|
inline void setConstRules(const opt::ConstRules *R) const { ConstRulesImpl = R; }
|
||||||
|
|
||||||
public: // These are the builtin types that are always available...
|
public: // These are the builtin types that are always available...
|
||||||
static const Type *VoidTy , *BoolTy;
|
static const Type *VoidTy , *BoolTy;
|
||||||
|
Loading…
Reference in New Issue
Block a user