diff options
Diffstat (limited to 'src/compiler/codegen/x86/Codegen.h')
| -rw-r--r-- | src/compiler/codegen/x86/Codegen.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/compiler/codegen/x86/Codegen.h b/src/compiler/codegen/x86/Codegen.h index 52ba7c1fdb..f04acd4ce5 100644 --- a/src/compiler/codegen/x86/Codegen.h +++ b/src/compiler/codegen/x86/Codegen.h @@ -74,10 +74,10 @@ void freeRegLocTemps(CompilationUnit* cUnit, RegLocation rlKeep, */ inline RegisterClass oatRegClassBySize(OpSize size) { - return (size == kUnsignedHalf || - size == kSignedHalf || - size == kUnsignedByte || - size == kSignedByte ) ? kCoreReg : kAnyReg; + return (size == kUnsignedHalf || + size == kSignedHalf || + size == kUnsignedByte || + size == kSignedByte ) ? kCoreReg : kAnyReg; } /* @@ -89,12 +89,12 @@ inline RegisterClass oatRegClassBySize(OpSize size) */ #if __BYTE_ORDER == __LITTLE_ENDIAN inline s4 s4FromSwitchData(const void* switchData) { - return *(s4*) switchData; + return *(s4*) switchData; } #else inline s4 s4FromSwitchData(const void* switchData) { - u2* data = switchData; - return data[0] | (((s4) data[1]) << 16); + u2* data = switchData; + return data[0] | (((s4) data[1]) << 16); } #endif @@ -102,7 +102,6 @@ inline s4 s4FromSwitchData(const void* switchData) { extern void oatSetupResourceMasks(LIR* lir); -extern LIR* oatRegCopyNoInsert(CompilationUnit* cUnit, int rDest, - int rSrc); +extern LIR* oatRegCopyNoInsert(CompilationUnit* cUnit, int rDest, int rSrc); } // namespace art |