1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

move a few more symbols to .rodata

llvm-svn: 92011
This commit is contained in:
Nuno Lopes 2009-12-23 17:48:10 +00:00
parent 846ed71489
commit 6abe311a0f
2 changed files with 2 additions and 2 deletions

View File

@ -2747,7 +2747,7 @@ void SelectionDAGLegalize::ExpandNode(SDNode *Node,
SDValue RHS = Node->getOperand(1); SDValue RHS = Node->getOperand(1);
SDValue BottomHalf; SDValue BottomHalf;
SDValue TopHalf; SDValue TopHalf;
static unsigned Ops[2][3] = static const unsigned Ops[2][3] =
{ { ISD::MULHU, ISD::UMUL_LOHI, ISD::ZERO_EXTEND }, { { ISD::MULHU, ISD::UMUL_LOHI, ISD::ZERO_EXTEND },
{ ISD::MULHS, ISD::SMUL_LOHI, ISD::SIGN_EXTEND }}; { ISD::MULHS, ISD::SMUL_LOHI, ISD::SIGN_EXTEND }};
bool isSigned = Node->getOpcode() == ISD::SMULO; bool isSigned = Node->getOpcode() == ISD::SMULO;

View File

@ -277,7 +277,7 @@ bool Process::ColorNeedsFlush() {
COLOR(FGBG, "7", BOLD)\ COLOR(FGBG, "7", BOLD)\
} }
static const char* colorcodes[2][2][8] = { static const char colorcodes[2][2][8][10] = {
{ ALLCOLORS("3",""), ALLCOLORS("3","1;") }, { ALLCOLORS("3",""), ALLCOLORS("3","1;") },
{ ALLCOLORS("4",""), ALLCOLORS("4","1;") } { ALLCOLORS("4",""), ALLCOLORS("4","1;") }
}; };