Consult the target data, not the module, about how large the current pointer
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 19:55:26 +0000 (19:55 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 19:55:26 +0000 (19:55 +0000)
commitc879e8ffc477b466fba4c01dd8c5c5af5d8cabbb
treeac1af1aa7c3a999b54f78bff3fe4fa547dd1df5c
parent0c8c0e80cafab40db16cc82941896d127c3b66cf
Consult the target data, not the module, about how large the current pointer
size is.  This ensures that if the module has no specified pointer size that
things will work correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8136 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/ExecutionEngine.cpp