diff options
author | Dale Johannesen <dalej@apple.com> | 2009-03-24 17:35:45 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-03-24 17:35:45 +0000 |
commit | e330ae5b32fa5f798894cec207fd9e4fcc578382 (patch) | |
tree | 7b324a9230153286a7801e486251e6706cfe7d21 /lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | e1c5267aec521c8c2a0cd719e03d10bcc1e0f6ef (diff) |
Change JIT for different layout of fp80.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | lib/ExecutionEngine/ExecutionEngine.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ExecutionEngine/ExecutionEngine.cpp b/lib/ExecutionEngine/ExecutionEngine.cpp index 33f29b4e4c..4e182d4983 100644 --- a/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/lib/ExecutionEngine/ExecutionEngine.cpp @@ -752,11 +752,11 @@ void ExecutionEngine::StoreValueToMemory(const GenericValue &Val, uint16_t *Dest = (uint16_t*)Ptr; const uint16_t *Src = (uint16_t*)Val.IntVal.getRawData(); // This is endian dependent, but it will only work on x86 anyway. - Dest[0] = Src[4]; - Dest[1] = Src[0]; - Dest[2] = Src[1]; - Dest[3] = Src[2]; - Dest[4] = Src[3]; + Dest[0] = Src[0]; + Dest[1] = Src[1]; + Dest[2] = Src[2]; + Dest[3] = Src[3]; + Dest[4] = Src[4]; break; } case Type::PointerTyID: |