diff options
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 1a510cf4db5..3e728b2936a 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -2308,7 +2308,7 @@ public: } void setVal(Value *V, Constant *C) { - ValueStack.back()->operator[](V) = C; + (*ValueStack.back())[V] = C; } const DenseMap<Constant*, Constant*> &getMutatedMemory() const { |