diff --git a/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index a0d9a6a28c575c08514453127a5a3653c27fa2f8..fcdbb7cbfd222e170db3bb4cd9bce2bf6b762e32 100644 --- a/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.cpp @@ -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