projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Statepoint] Remove unnecessary argument from Statepoint::getRelocates
[oota-llvm.git]
/
include
/
llvm
/
IR
/
Statepoint.h
diff --git
a/include/llvm/IR/Statepoint.h
b/include/llvm/IR/Statepoint.h
index 623a5a6100cf38611604134061b7fbd1d019e476..8159cde3425192e6ff72ef1e648e06db387b7ded 100644
(file)
--- a/
include/llvm/IR/Statepoint.h
+++ b/
include/llvm/IR/Statepoint.h
@@
-198,7
+198,7
@@
public:
/// May contain several relocations for the same base/derived pair.
/// For example this could happen due to relocations on unwinding
/// path of invoke.
/// May contain several relocations for the same base/derived pair.
/// For example this could happen due to relocations on unwinding
/// path of invoke.
- std::vector<GCRelocateOperands> getRelocates(
ImmutableStatepoint &IS
);
+ std::vector<GCRelocateOperands> getRelocates();
#ifndef NDEBUG
/// Asserts if this statepoint is malformed. Common cases for failure
#ifndef NDEBUG
/// Asserts if this statepoint is malformed. Common cases for failure
@@
-315,12
+315,11
@@
public:
template <typename InstructionTy, typename ValueTy, typename CallSiteTy>
std::vector<GCRelocateOperands>
template <typename InstructionTy, typename ValueTy, typename CallSiteTy>
std::vector<GCRelocateOperands>
-StatepointBase<InstructionTy, ValueTy, CallSiteTy>::getRelocates(
- ImmutableStatepoint &IS) {
+StatepointBase<InstructionTy, ValueTy, CallSiteTy>::getRelocates() {
std::vector<GCRelocateOperands> Result;
std::vector<GCRelocateOperands> Result;
-
ImmutableCallSite StatepointCS = IS.
getCallSite();
+
CallSiteTy StatepointCS =
getCallSite();
// Search for relocated pointers. Note that working backwards from the
// gc_relocates ensures that we only get pairs which are actually relocated
// Search for relocated pointers. Note that working backwards from the
// gc_relocates ensures that we only get pairs which are actually relocated