mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
MipsISelLowering.cpp: Fix a warning, take two. [-Wunused-variable]
...and fix a typo, s/#ifdef/#ifndef/ llvm-svn: 173324
This commit is contained in:
parent
420b657110
commit
c67d03e39b
@ -2891,10 +2891,10 @@ static char const * dcMips16Helper[MAX_STUB_NUMBER+1] =
|
||||
const char* MipsTargetLowering::
|
||||
getMips16HelperFunction
|
||||
(Type* RetTy, ArgListTy &Args, bool &needHelper) const {
|
||||
const unsigned int maxStubNum = 10;
|
||||
const unsigned int stubNum = getMips16HelperFunctionStubNumber(Args);
|
||||
#ifndef NDEBUG
|
||||
const unsigned int maxStubNum = 10;
|
||||
assert(stubNum <= maxStubNum);
|
||||
#ifdef NDEBUG
|
||||
const bool validStubNum[maxStubNum+1] =
|
||||
{true, true, true, false, false, true, true, false, false, true, true};
|
||||
assert(validStubNum[stubNum]);
|
||||
|
Loading…
Reference in New Issue
Block a user