diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-20 17:53:24 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-08-20 17:53:24 +0000 |
commit | b862f094b78e3176813903f63c0e78b6e0e7852b (patch) | |
tree | 854562cb64b392cc119d3420f35e5be1c2a09918 /lib/ExecutionEngine | |
parent | 46aed739555d2f821691b323d46de7ad7a75d5e7 (diff) |
Fix coding style violations in 162135 and 162136.
Patch by Petar Jovanovic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 12 | ||||
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 67166c919b..0aea598614 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -307,10 +307,10 @@ void RuntimeDyldELF::resolveARMRelocation(uint8_t *LocalAddress, } void RuntimeDyldELF::resolveMIPSRelocation(uint8_t *LocalAddress, - uint32_t FinalAddress, - uint32_t Value, - uint32_t Type, - int32_t Addend) { + uint32_t FinalAddress, + uint32_t Value, + uint32_t Type, + int32_t Addend) { uint32_t* TargetPtr = (uint32_t*)LocalAddress; Value += Addend; @@ -367,8 +367,8 @@ void RuntimeDyldELF::resolveRelocation(uint8_t *LocalAddress, case Triple::mips: // Fall through. case Triple::mipsel: resolveMIPSRelocation(LocalAddress, (uint32_t)(FinalAddress & 0xffffffffL), - (uint32_t)(Value & 0xffffffffL), Type, - (uint32_t)(Addend & 0xffffffffL)); + (uint32_t)(Value & 0xffffffffL), Type, + (uint32_t)(Addend & 0xffffffffL)); break; default: llvm_unreachable("Unsupported CPU type!"); } diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h index 68633c847c..eade49ee25 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h @@ -43,10 +43,10 @@ protected: int32_t Addend); void resolveMIPSRelocation(uint8_t *LocalAddress, - uint32_t FinalAddress, - uint32_t Value, - uint32_t Type, - int32_t Addend); + uint32_t FinalAddress, + uint32_t Value, + uint32_t Type, + int32_t Addend); virtual void resolveRelocation(uint8_t *LocalAddress, uint64_t FinalAddress, |