Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
diff --git a/compiler/stubs/portable/stubs.cc b/compiler/stubs/portable/stubs.cc
index a7eea51..69568d7 100644
--- a/compiler/stubs/portable/stubs.cc
+++ b/compiler/stubs/portable/stubs.cc
@@ -55,7 +55,7 @@
return resolution_trampoline.release();
}
-} // namespace arm
+} // namespace arm
namespace mips {
const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
@@ -72,7 +72,7 @@
ENTRYPOINT_OFFSET(pPortableResolutionTrampolineFromCode));
__ Move(A3, S1); // Pass Thread::Current() in A3
__ Move(A2, SP); // Pass SP for Method** callee_addr
- __ Jalr(T9); // Call to resolution trampoline (callee, receiver, callee_addr, Thread*)
+ __ Jalr(T9); // Call to resolution trampoline (callee, receiver, callee_addr, Thread*)
// Restore frame, argument registers, and RA.
__ LoadFromOffset(kLoadWord, A0, SP, 0);
@@ -84,9 +84,9 @@
Label resolve_fail;
__ EmitBranch(V0, ZERO, &resolve_fail, true);
- __ Jr(V0); // If V0 != 0 tail call method's code
+ __ Jr(V0); // If V0 != 0 tail call method's code
__ Bind(&resolve_fail, false);
- __ Jr(RA); // Return to caller to handle exception
+ __ Jr(RA); // Return to caller to handle exception
assembler->EmitSlowPaths();
size_t cs = assembler->CodeSize();
@@ -96,7 +96,7 @@
return resolution_trampoline.release();
}
-} // namespace mips
+} // namespace mips
namespace x86 {
const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
@@ -132,6 +132,6 @@
return resolution_trampoline.release();
}
-} // namespace x86
+} // namespace x86
-} // namespace art
+} // namespace art
diff --git a/compiler/stubs/quick/stubs.cc b/compiler/stubs/quick/stubs.cc
index 790b5d6..8fc2a81 100644
--- a/compiler/stubs/quick/stubs.cc
+++ b/compiler/stubs/quick/stubs.cc
@@ -95,7 +95,7 @@
return entry_stub.release();
}
-} // namespace arm
+} // namespace arm
namespace mips {
const std::vector<uint8_t>* CreateQuickResolutionTrampoline() {
@@ -126,7 +126,7 @@
__ LoadFromOffset(kLoadWord, T9, S1, ENTRYPOINT_OFFSET(pQuickResolutionTrampolineFromCode));
__ Move(A3, S1); // Pass Thread::Current() in A3
__ Move(A2, SP); // Pass SP for Method** callee_addr
- __ Jalr(T9); // Call to resolution trampoline (method_idx, receiver, sp, Thread*)
+ __ Jalr(T9); // Call to resolution trampoline (method_idx, receiver, sp, Thread*)
// Restore registers which may have been modified by GC
__ LoadFromOffset(kLoadWord, A0, SP, 0);
@@ -144,7 +144,7 @@
__ LoadFromOffset(kLoadWord, RA, SP, 60);
__ AddConstant(SP, SP, 64);
- __ Move(T9, V0); // Put method's code in T9
+ __ Move(T9, V0); // Put method's code in T9
__ Jr(T9); // Leaf call to method's code
__ Break();
@@ -187,7 +187,7 @@
return entry_stub.release();
}
-} // namespace mips
+} // namespace mips
namespace x86 {
const std::vector<uint8_t>* CreateQuickResolutionTrampoline() {
@@ -258,6 +258,6 @@
return entry_stub.release();
}
-} // namespace x86
+} // namespace x86
-} // namespace art
+} // namespace art