summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-21 20:43:51 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-21 20:43:51 +0000
commiteb038915ab3ace23cd2a82df688126f780c6ecae (patch)
tree959d4defdf857340ae973521657bfceed85512ab /llvm/lib/Transforms
parenta56bd2ed298dd17ee4359ed016e4edbbfc3d39aa (diff)
downloadbcm5719-llvm-eb038915ab3ace23cd2a82df688126f780c6ecae.tar.gz
bcm5719-llvm-eb038915ab3ace23cd2a82df688126f780c6ecae.zip
Simplify expression that was explicitly naming an operator overload in a call.
llvm-svn: 206788
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/GlobalOpt.cpp2
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 {
OpenPOWER on IntegriCloud