diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-23 18:10:38 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-04-23 18:10:38 +0000 |
commit | 4d529bc07bd72169904bfd5243379d33b246f98e (patch) | |
tree | 000fd5fe1c2add0d42b4785ef601359df32a6338 | |
parent | b440dea57b4680f78e5eca9fb83dc26951a1d1e0 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13124 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SparcV9/SparcV9CodeEmitter.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/SparcV9CodeEmitter.cpp b/lib/Target/SparcV9/SparcV9CodeEmitter.cpp index a0d9a6a28c..fcdbb7cbfd 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 |