Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
diff --git a/compiler/dex/quick/ralloc_util.cc b/compiler/dex/quick/ralloc_util.cc
index 4542f8f..d59c986 100644
--- a/compiler/dex/quick/ralloc_util.cc
+++ b/compiler/dex/quick/ralloc_util.cc
@@ -198,7 +198,7 @@
* s_reg<=sX[even] & (s_reg+1)<= sX+1.
*/
int Mir2Lir::AllocPreservedDouble(int s_reg) {
- int res = -1; // Assume failure
+ int res = -1; // Assume failure
int v_reg = mir_graph_->SRegToVReg(s_reg);
int p_map_idx = SRegToPMap(s_reg);
if (promotion_map_[p_map_idx+1].fp_location == kLocPhysReg) {
@@ -303,7 +303,7 @@
return -1; // No register available
}
-//REDO: too many assumptions.
+// REDO: too many assumptions.
int Mir2Lir::AllocTempDouble() {
RegisterInfo* p = reg_pool_->FPRegs;
int num_regs = reg_pool_->num_fp_regs;
@@ -629,7 +629,7 @@
}
-//TUNING: rewrite all of this reg stuff. Probably use an attribute table
+// TUNING: rewrite all of this reg stuff. Probably use an attribute table
bool Mir2Lir::RegClassMatches(int reg_class, int reg) {
if (reg_class == kAnyReg) {
return true;
@@ -917,7 +917,7 @@
RegLocation loc = mir_graph_->reg_location_[i];
RefCounts* counts = loc.fp ? fp_counts : core_counts;
int p_map_idx = SRegToPMap(loc.s_reg_low);
- //Don't count easily regenerated immediates
+ // Don't count easily regenerated immediates
if (loc.fp || !IsInexpensiveConstant(loc)) {
counts[p_map_idx].count += mir_graph_->GetUseCount(i);
}
@@ -1152,7 +1152,7 @@
}
bool Mir2Lir::oat_live_out(int s_reg) {
- //For now.
+ // For now.
return true;
}