Some comment tweaks in quick.
Change-Id: I223ebb1dc4132f6dec33024195c3144b356f9303
diff --git a/src/compiler/dex/quick/gen_common.cc b/src/compiler/dex/quick/gen_common.cc
index a289252..3c4b111 100644
--- a/src/compiler/dex/quick/gen_common.cc
+++ b/src/compiler/dex/quick/gen_common.cc
@@ -374,13 +374,13 @@
FreeTemp(cu, rl_method.low_reg);
}
} else {
- // Medium path, static storage base in a different class which
- // requires checks that the other class is initialized.
+ // Medium path, static storage base in a different class which requires checks that the other
+ // class is initialized.
+ // TODO: remove initialized check now that we are initializing classes in the compiler driver.
DCHECK_GE(ssb_index, 0);
// May do runtime call so everything to home locations.
FlushAllRegs(cu);
- // Using fixed register to sync with possible call to runtime
- // support.
+ // Using fixed register to sync with possible call to runtime support.
int r_method = TargetReg(kArg1);
LockTemp(cu, r_method);
LoadCurrMethodDirect(cu, r_method);
@@ -462,13 +462,13 @@
LoadWordDisp(cu, rl_method.low_reg,
mirror::AbstractMethod::DeclaringClassOffset().Int32Value(), rBase);
} else {
- // Medium path, static storage base in a different class which
- // requires checks that the other class is initialized
+ // Medium path, static storage base in a different class which requires checks that the other
+ // class is initialized
+ // TODO: remove initialized check now that we are initializing classes in the compiler driver.
DCHECK_GE(ssb_index, 0);
// May do runtime call so everything to home locations.
FlushAllRegs(cu);
- // Using fixed register to sync with possible call to runtime
- // support
+ // Using fixed register to sync with possible call to runtime support.
int r_method = TargetReg(kArg1);
LockTemp(cu, r_method);
LoadCurrMethodDirect(cu, r_method);