mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Get rid of the old byte-at-a-time emission code used when the Sparc JIT was
being tested on X86, as per Chris's request. llvm-svn: 13124
This commit is contained in:
parent
96889991bb
commit
07344c1367
@ -468,16 +468,7 @@ SparcV9CodeEmitter::~SparcV9CodeEmitter() {
|
||||
}
|
||||
|
||||
void SparcV9CodeEmitter::emitWord(unsigned Val) {
|
||||
#if 0 // I think this was used when the Sparc JIT was being tested on X86:
|
||||
// Output the constant in big endian byte order...
|
||||
unsigned byteVal;
|
||||
for (int i = 3; i >= 0; --i) {
|
||||
byteVal = Val >> 8*i;
|
||||
MCE.emitByte(byteVal & 255);
|
||||
}
|
||||
#else
|
||||
MCE.emitWord(Val);
|
||||
#endif
|
||||
}
|
||||
|
||||
unsigned
|
||||
|
Loading…
Reference in New Issue
Block a user