mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163233 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -81,7 +81,7 @@ public:
|
|||||||
InstrTy *operator->() const { return I.getPointer(); }
|
InstrTy *operator->() const { return I.getPointer(); }
|
||||||
operator bool() const { return I.getPointer(); }
|
operator bool() const { return I.getPointer(); }
|
||||||
|
|
||||||
/// getCalledValue - Return the pointer to function that is being called...
|
/// getCalledValue - Return the pointer to function that is being called.
|
||||||
///
|
///
|
||||||
ValTy *getCalledValue() const {
|
ValTy *getCalledValue() const {
|
||||||
assert(getInstruction() && "Not a call or invoke instruction!");
|
assert(getInstruction() && "Not a call or invoke instruction!");
|
||||||
@ -95,7 +95,7 @@ public:
|
|||||||
return dyn_cast<FunTy>(getCalledValue());
|
return dyn_cast<FunTy>(getCalledValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// setCalledFunction - Set the callee to the specified value...
|
/// setCalledFunction - Set the callee to the specified value.
|
||||||
///
|
///
|
||||||
void setCalledFunction(Value *V) {
|
void setCalledFunction(Value *V) {
|
||||||
assert(getInstruction() && "Not a call or invoke instruction!");
|
assert(getInstruction() && "Not a call or invoke instruction!");
|
||||||
@ -130,7 +130,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// arg_iterator - The type of iterator to use when looping over actual
|
/// arg_iterator - The type of iterator to use when looping over actual
|
||||||
/// arguments at this call site...
|
/// arguments at this call site.
|
||||||
typedef IterTy arg_iterator;
|
typedef IterTy arg_iterator;
|
||||||
|
|
||||||
/// arg_begin/arg_end - Return iterators corresponding to the actual argument
|
/// arg_begin/arg_end - Return iterators corresponding to the actual argument
|
||||||
|
Reference in New Issue
Block a user