diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-10-22 17:05:00 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-10-22 17:05:00 +0000 |
commit | 8fe40e0ed5c121d2a0a2763f1da38dc4a312b245 (patch) | |
tree | 813900a03975f0009dbaee16095d8097bea83a80 /llvm/include | |
parent | 4192015cfef6f633ac457ff7ad99020c38c21102 (diff) | |
download | bcm5719-llvm-8fe40e0ed5c121d2a0a2763f1da38dc4a312b245.tar.gz bcm5719-llvm-8fe40e0ed5c121d2a0a2763f1da38dc4a312b245.zip |
Change makeLibCall to take an ArrayRef<SDValue> instead of pointer and size. This removes the need to pass a hardcoded size in many places. NFC
llvm-svn: 251032
Diffstat (limited to 'llvm/include')
-rw-r--r-- | llvm/include/llvm/Target/TargetLowering.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index f1f4e13314c..1e19e96e46d 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/include/llvm/Target/TargetLowering.h @@ -2105,9 +2105,9 @@ public: /// Returns a pair of (return value, chain). /// It is an error to pass RTLIB::UNKNOWN_LIBCALL as \p LC. std::pair<SDValue, SDValue> makeLibCall(SelectionDAG &DAG, RTLIB::Libcall LC, - EVT RetVT, const SDValue *Ops, - unsigned NumOps, bool isSigned, - SDLoc dl, bool doesNotReturn = false, + EVT RetVT, ArrayRef<SDValue> Ops, + bool isSigned, SDLoc dl, + bool doesNotReturn = false, bool isReturnValueUsed = true) const; //===--------------------------------------------------------------------===// |