From 07344c13675d217b7fa0146eb4fad0f9d970a113 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 23 Apr 2004 18:10:38 +0000 Subject: [PATCH] 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 --- lib/Target/SparcV9/SparcV9CodeEmitter.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index a0d9a6a28c5..fcdbb7cbfd2 100644 --- a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp +++ b/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