summaryrefslogtreecommitdiffstats
path: root/compiler/stubs/portable/stubs.cc
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-07-26 10:54:15 -0700
committerBrian Carlstrom <bdc@google.com>2013-07-26 11:55:10 -0700
commit7934ac288acfb2552bb0b06ec1f61e5820d924a4 (patch)
tree43f3acd8af7fd34d4ae7b64f6e06bb8429d74bb8 /compiler/stubs/portable/stubs.cc
parentfb331d7ca004f39608fcfdae49d38df90c702ea9 (diff)
downloadandroid_art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.tar.gz
android_art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.tar.bz2
android_art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.zip
Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
Diffstat (limited to 'compiler/stubs/portable/stubs.cc')
-rw-r--r--compiler/stubs/portable/stubs.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/stubs/portable/stubs.cc b/compiler/stubs/portable/stubs.cc
index a7eea5183b..69568d7a19 100644
--- a/compiler/stubs/portable/stubs.cc
+++ b/compiler/stubs/portable/stubs.cc
@@ -55,7 +55,7 @@ const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
return resolution_trampoline.release();
}
-} // namespace arm
+} // namespace arm
namespace mips {
const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
@@ -72,7 +72,7 @@ const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
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 @@ const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
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 @@ const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
return resolution_trampoline.release();
}
-} // namespace mips
+} // namespace mips
namespace x86 {
const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
@@ -132,6 +132,6 @@ const std::vector<uint8_t>* CreatePortableResolutionTrampoline() {
return resolution_trampoline.release();
}
-} // namespace x86
+} // namespace x86
-} // namespace art
+} // namespace art