diff options
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 04c9e2af62..323885002c 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -76,18 +76,6 @@ struct ExecutionContext { CallSite Caller; // Holds the call that called subframes. // NULL if main func or debugger invoked fn AllocaHolderHandle Allocas; // Track memory allocated by alloca - std::vector<APInt*> APInts; // Track memory allocated for APInts - APInt* getAPInt(uint32_t BitWidth) { - APInt* Result = new APInt(BitWidth, 0); - APInts.push_back(Result); - return Result; - } - ~ExecutionContext() { - while (!APInts.empty()) { - delete APInts.back(); - APInts.pop_back(); - } - } }; // Interpreter - This class represents the entirety of the interpreter. |