Fix cpplint's whitespace complaints.
Change-Id: I11fd2db2badf7bd98e7866ca2155d8ef1e112408
diff --git a/src/compiler/codegen/x86/ArchUtility.cc b/src/compiler/codegen/x86/ArchUtility.cc
index a5987f2..fa94db3 100644
--- a/src/compiler/codegen/x86/ArchUtility.cc
+++ b/src/compiler/codegen/x86/ArchUtility.cc
@@ -55,7 +55,7 @@
std::string buf;
size_t i = 0;
size_t fmt_len = strlen(fmt);
- while(i < fmt_len) {
+ while (i < fmt_len) {
if (fmt[i] != '!') {
buf += fmt[i];
i++;
@@ -71,7 +71,7 @@
DCHECK_LT(operand_number, 6); // Expect upto 6 LIR operands.
DCHECK_LT(i, fmt_len);
int operand = lir->operands[operand_number];
- switch(fmt[i]) {
+ switch (fmt[i]) {
case 'c':
DCHECK_LT(static_cast<size_t>(operand), sizeof(x86CondName));
buf += x86CondName[operand];
diff --git a/src/compiler/codegen/x86/Assemble.cc b/src/compiler/codegen/x86/Assemble.cc
index b62b5b4..d1a8d64 100644
--- a/src/compiler/codegen/x86/Assemble.cc
+++ b/src/compiler/codegen/x86/Assemble.cc
@@ -433,7 +433,7 @@
return 5; // opcode + rel32
}
case kCall:
- switch(lir->opcode) {
+ switch (lir->opcode) {
case kX86CallR: return 2; // opcode modrm
case kX86CallM: // lir operands - 0: base, 1: disp
return computeSize(entry, lir->operands[1], false);
@@ -1030,7 +1030,7 @@
}
const X86EncodingMap *entry = &EncodingMap[lir->opcode];
size_t starting_cbuf_size = cUnit->codeBuffer.size();
- switch(entry->kind) {
+ switch (entry->kind) {
case kData: // 4 bytes of data
cUnit->codeBuffer.push_back(lir->operands[0]);
break;
@@ -1095,7 +1095,7 @@
emitJcc(cUnit, entry, lir->operands[0], lir->operands[1]);
break;
case kCall:
- switch(entry->opcode) {
+ switch (entry->opcode) {
case kX86CallM: // lir operands - 0: base, 1: disp
emitCallMem(cUnit, entry, lir->operands[0], lir->operands[1]);
break;
diff --git a/src/compiler/codegen/x86/X86/Gen.cc b/src/compiler/codegen/x86/X86/Gen.cc
index c6cd55c..f957cbc 100644
--- a/src/compiler/codegen/x86/X86/Gen.cc
+++ b/src/compiler/codegen/x86/X86/Gen.cc
@@ -387,7 +387,7 @@
}
X86ConditionCode oatX86ConditionEncoding(ConditionCode cond) {
- switch(cond) {
+ switch (cond) {
case kCondEq: return kX86CondEq;
case kCondNe: return kX86CondNe;
case kCondCs: return kX86CondC;