aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-14 19:38:31 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-14 19:38:31 +0000
commit8a43e9e5d751ab827ba3ff0cf862787d3263a484 (patch)
tree9d99bab072a969763f544d05a9ff7cb572e97897 /lib/VMCore/Function.cpp
parent6e959b9afe0daa94cc9621ca0c7dab75e2a7bf43 (diff)
Teach the interpreter to read and write memory in the
endianness of the target not of the host. Done by the simple expedient of reversing bytes for primitive types if the host and target endianness don't match. This is correct for integer and pointer types. I don't know if it is correct for floating point types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions