Some fixes for x86-64 JIT. Make it use small code
authorDale Johannesen <dalej@apple.com>
Mon, 11 Aug 2008 23:46:25 +0000 (23:46 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 11 Aug 2008 23:46:25 +0000 (23:46 +0000)
commit50dd1d028021bd7fd8bca3f33633ea59577c9d5e
tree6ad12938b4220e46b67e485c4f921edf7810736c
parent0eab5e2efa0741b766f71a75626f7598990d5c3d
Some fixes for x86-64 JIT.  Make it use small code
model, except for external calls; this makes
addressing modes PC-relative.  Incomplete.

The assertion at the top of Emitter::runOnMachineFunction
was obviously bogus (always true) so I removed it.
If someone knows what the correct test should be to cover
all the various targets, please fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54656 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Target/X86/X86CodeEmitter.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86TargetMachine.cpp