diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-26 10:54:15 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-26 11:55:10 -0700 |
commit | 7934ac288acfb2552bb0b06ec1f61e5820d924a4 (patch) | |
tree | 43f3acd8af7fd34d4ae7b64f6e06bb8429d74bb8 /runtime/stack.h | |
parent | fb331d7ca004f39608fcfdae49d38df90c702ea9 (diff) | |
download | art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.zip art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.tar.gz art-7934ac288acfb2552bb0b06ec1f61e5820d924a4.tar.bz2 |
Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 99ba898..0b94f27 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -514,7 +514,7 @@ class StackVisitor { uint32_t core_spills, uint32_t fp_spills, size_t frame_size, int reg) { DCHECK_EQ(frame_size & (kStackAlignment - 1), 0U); - int num_spills = __builtin_popcount(core_spills) + __builtin_popcount(fp_spills) + 1; // Filler. + int num_spills = __builtin_popcount(core_spills) + __builtin_popcount(fp_spills) + 1; // Filler. int num_ins = code_item->ins_size_; int num_regs = code_item->registers_size_ - num_ins; int locals_start = frame_size - ((num_spills + num_regs) * sizeof(uint32_t)); @@ -525,7 +525,7 @@ class StackVisitor { } else if (reg < num_regs) { return locals_start + (reg * sizeof(uint32_t)); // Dalvik local reg. } else { - return frame_size + ((reg - num_regs) * sizeof(uint32_t)) + sizeof(uint32_t); // Dalvik in. + return frame_size + ((reg - num_regs) * sizeof(uint32_t)) + sizeof(uint32_t); // Dalvik in. } } @@ -543,7 +543,7 @@ class StackVisitor { StackIndirectReferenceTable* GetCurrentSirt() const { mirror::AbstractMethod** sp = GetCurrentQuickFrame(); - ++sp; // Skip Method*; SIRT comes next; + ++sp; // Skip Method*; SIRT comes next; return reinterpret_cast<StackIndirectReferenceTable*>(sp); } |