summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-05-06 02:36:26 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-05-06 02:36:26 +0000
commit499d703f52c0dd5c11551ab2166e0a77c52a0053 (patch)
tree3b5e04d18b66a374055ee3daaa3067297a2ef26b /llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
parentc6bf3e9f127589de828434b581d267b8f8c5ac4e (diff)
downloadbcm5719-llvm-499d703f52c0dd5c11551ab2166e0a77c52a0053.tar.gz
bcm5719-llvm-499d703f52c0dd5c11551ab2166e0a77c52a0053.zip
[Statepoint] Clean up Statepoint.h: accessor names.
Use getFoo() as accessors consistently and some other naming changes. llvm-svn: 236564
Diffstat (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index 3da3559ca1f..9cb0748c515 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -1336,7 +1336,8 @@ insertRelocationStores(iterator_range<Value::user_iterator> gcRelocs,
}
GCRelocateOperands relocateOperands(relocatedValue);
- Value *originalValue = const_cast<Value *>(relocateOperands.derivedPtr());
+ Value *originalValue =
+ const_cast<Value *>(relocateOperands.getDerivedPtr());
assert(allocaMap.count(originalValue));
Value *alloca = allocaMap[originalValue];
OpenPOWER on IntegriCloud