diff options
author | 2013-07-26 10:54:15 -0700 | |
---|---|---|
committer | 2013-07-26 11:55:10 -0700 | |
commit | 7934ac288acfb2552bb0b06ec1f61e5820d924a4 (patch) | |
tree | 43f3acd8af7fd34d4ae7b64f6e06bb8429d74bb8 /runtime/dex_instruction.cc | |
parent | fb331d7ca004f39608fcfdae49d38df90c702ea9 (diff) |
Fix cpplint whitespace/comments issues
Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
Diffstat (limited to 'runtime/dex_instruction.cc')
-rw-r--r-- | runtime/dex_instruction.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/dex_instruction.cc b/runtime/dex_instruction.cc index dcaa4cc27e..09fa19e4d5 100644 --- a/runtime/dex_instruction.cc +++ b/runtime/dex_instruction.cc @@ -220,7 +220,7 @@ void Instruction::Decode(uint32_t &vA, uint32_t &vB, uint64_t &vB_wide, uint32_t break; case k11n: // op vA, #+B vA = INST_A(insn); - vB = (int32_t) (INST_B(insn) << 28) >> 28; // sign extend 4-bit value + vB = (int32_t) (INST_B(insn) << 28) >> 28; // sign extend 4-bit value break; case k11x: // op vAA vA = INST_AA(insn); @@ -302,7 +302,7 @@ void Instruction::Decode(uint32_t &vA, uint32_t &vB, uint64_t &vB_wide, uint32_t uint16_t regList; int count; - vA = INST_B(insn); // This is labeled A in the spec. + vA = INST_B(insn); // This is labeled A in the spec. vB = FETCH(1); regList = FETCH(2); @@ -321,7 +321,7 @@ void Instruction::Decode(uint32_t &vA, uint32_t &vB, uint64_t &vB_wide, uint32_t case 3: arg[2] = (regList >> 8) & 0x0f; case 2: arg[1] = (regList >> 4) & 0x0f; case 1: vC = arg[0] = regList & 0x0f; break; - case 0: break; // Valid, but no need to do anything. + case 0: break; // Valid, but no need to do anything. default: LOG(ERROR) << "Invalid arg count in 35c (" << count << ")"; return; @@ -561,7 +561,7 @@ std::string Instruction::DumpString(const DexFile* file) const { } os << "v" << arg[i]; } - os << "}, // vtable@" << method_idx; + os << "}, // vtable@" << method_idx; break; } // else fall-through default: |