From 499d703f52c0dd5c11551ab2166e0a77c52a0053 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Wed, 6 May 2015 02:36:26 +0000 Subject: [Statepoint] Clean up Statepoint.h: accessor names. Use getFoo() as accessors consistently and some other naming changes. llvm-svn: 236564 --- llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp') 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 gcRelocs, } GCRelocateOperands relocateOperands(relocatedValue); - Value *originalValue = const_cast(relocateOperands.derivedPtr()); + Value *originalValue = + const_cast(relocateOperands.getDerivedPtr()); assert(allocaMap.count(originalValue)); Value *alloca = allocaMap[originalValue]; -- cgit v1.2.3