[llvm-commits] [llvm] r67631 - /llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp
Bill Wendling
isanbard at gmail.com
Tue Mar 24 10:45:21 PDT 2009
Author: void
Date: Tue Mar 24 12:45:21 2009
New Revision: 67631
URL: http://llvm.org/viewvc/llvm-project?rev=67631&view=rev
Log:
--- Merging (from foreign repository) r67629 into '.':
U lib/ExecutionEngine/ExecutionEngine.cpp
Modified:
llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp
Modified: llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp?rev=67631&r1=67630&r2=67631&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp (original)
+++ llvm/branches/Apple/Dib/lib/ExecutionEngine/ExecutionEngine.cpp Tue Mar 24 12:45:21 2009
@@ -752,11 +752,11 @@
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:
More information about the llvm-commits
mailing list