mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Remove compatibilty code for old-style multiple return values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4dea941c8d
commit
8faa6af43d
@ -1989,11 +1989,9 @@ public:
|
|||||||
/// Provide fast operand accessors
|
/// Provide fast operand accessors
|
||||||
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
|
||||||
|
|
||||||
/// Convenience accessor
|
/// Convenience accessor. Returns null if there is no return value.
|
||||||
Value *getReturnValue(unsigned n = 0) const {
|
Value *getReturnValue() const {
|
||||||
return n < getNumOperands()
|
return getNumOperands() != 0 ? getOperand(0) : 0;
|
||||||
? getOperand(n)
|
|
||||||
: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned getNumSuccessors() const { return 0; }
|
unsigned getNumSuccessors() const { return 0; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user