When resolving a stub in x86-64 JIT, use a PC-relative branch
authorDale Johannesen <dalej@apple.com>
Tue, 12 Aug 2008 23:20:24 +0000 (23:20 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 12 Aug 2008 23:20:24 +0000 (23:20 +0000)
commit6f83be0c6128938662009b9877d7e80ff5d496f2
tree8a031f2064ea02b9fb498fea579ff3e4bd0dfd8a
parentf9e67aca52b3d889f4a5c38aaaa336020bba8ae4
When resolving a stub in x86-64 JIT, use a PC-relative branch
rather than the absolute address if the target is within range.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54708 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86JITInfo.cpp