mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
TargetLowering: Fix off-by-one error
This problem was present for a while, but somehow asan didn't catch it before the refactoring in r321036. llvm-svn: 321043
This commit is contained in:
parent
af67e33ea7
commit
c94abbea59
@ -2429,7 +2429,7 @@ private:
|
||||
PromoteToType;
|
||||
|
||||
/// Stores the name each libcall.
|
||||
const char *LibcallRoutineNames[RTLIB::UNKNOWN_LIBCALL];
|
||||
const char *LibcallRoutineNames[RTLIB::UNKNOWN_LIBCALL + 1];
|
||||
|
||||
/// The ISD::CondCode that should be used to test the result of each of the
|
||||
/// comparison libcall against zero.
|
||||
|
Loading…
Reference in New Issue
Block a user