Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 290ce19

Browse files
committed
Simplify expression that was explicitly naming an operator overload in a call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206788 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 77a301f commit 290ce19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Transforms/IPO/GlobalOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2308,7 +2308,7 @@ class Evaluator {
23082308
}
23092309

23102310
void setVal(Value *V, Constant *C) {
2311-
ValueStack.back()->operator[](V) = C;
2311+
(*ValueStack.back())[V] = C;
23122312
}
23132313

23142314
const DenseMap<Constant*, Constant*> &getMutatedMemory() const {

0 commit comments

Comments
 (0)