Fix a purely hypothetical problem (for now): emitWord emits in the host
authorChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 19:14:47 +0000 (19:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 May 2006 19:14:47 +0000 (19:14 +0000)
commitd3f0aefc33965d3d0ca6f92af4ebaea354b063c4
treea930b341d61cfa8a4c28505803970a2b270946a2
parent43b429b05989075b60693d57395c99b0ad789f8d
Fix a purely hypothetical problem (for now): emitWord emits in the host
byte format.  This doesn't work when using the code emitter in a cross target
environment.  Since the code emitter is only really used by the JIT, this
isn't a current problem, but if we ever start emitting .o files, it would be.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28060 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineCodeEmitter.h
lib/Target/Alpha/AlphaCodeEmitter.cpp
lib/Target/Alpha/AlphaJITInfo.cpp
lib/Target/PowerPC/PPCCodeEmitter.cpp
lib/Target/PowerPC/PPCJITInfo.cpp
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86JITInfo.cpp