mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Plog a memleak in GlobalOpt.
Found by valgrind. llvm-svn: 151525
This commit is contained in:
parent
0f1520e70b
commit
e96ae5392c
@ -2559,7 +2559,7 @@ bool Evaluator::EvaluateBlock(BasicBlock::iterator CurInst,
|
||||
ValueStack.push_back(new DenseMap<Value*, Constant*>);
|
||||
if (!EvaluateFunction(Callee, RetVal, Formals))
|
||||
return false;
|
||||
ValueStack.pop_back();
|
||||
delete ValueStack.pop_back_val();
|
||||
InstResult = RetVal;
|
||||
|
||||
if (InvokeInst *II = dyn_cast<InvokeInst>(CurInst)) {
|
||||
|
Loading…
Reference in New Issue
Block a user