Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index ab9c81440ec1c25860f761f5e530b2cea4d6cede..751147ee48502811e0f37eaf21c92d0dae0ad17c 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -158,17 +158,6 @@ public: |
// getConstantPool() returns a copy of the constant pool for |
// constants of a given type. |
ConstantList getConstantPool(Type Ty); |
- // Returns a new function declaration, allocated in an internal |
- // memory pool. Ownership of the function is maintained by this |
- // class instance. |
- FunctionDeclaration *newFunctionDeclaration(const FuncSigType *Signature, |
- unsigned CallingConv, |
- unsigned Linkage, bool IsProto); |
- |
- // Returns a new global variable declaration, allocated in an |
- // internal memory pool. Ownership of the function is maintained by |
- // this class instance. |
- VariableDeclaration *newVariableDeclaration(); |
const ClFlags &getFlags() const { return Flags; } |
@@ -268,7 +257,6 @@ private: |
std::unique_ptr<ELFObjectWriter> ObjectWriter; |
CodeStats StatsCumulative; |
std::vector<TimerStack> Timers; |
- std::vector<GlobalDeclaration *> GlobalDeclarations; |
LockedPtr<ArenaAllocator<>> getAllocator() { |
return LockedPtr<ArenaAllocator<>>(&Allocator, &AllocLock); |