| Index: src/arm/disasm-arm.cc
|
| diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc
|
| index ecdf638a1da36fafa12812c347e35cda684d8210..6c54489e82efdc3b7c8a6d7fddd55e43d1d3ddf5 100644
|
| --- a/src/arm/disasm-arm.cc
|
| +++ b/src/arm/disasm-arm.cc
|
| @@ -1658,7 +1658,7 @@ bool Decoder::IsConstantPoolAt(byte* instr_ptr) {
|
| int Decoder::ConstantPoolSizeAt(byte* instr_ptr) {
|
| if (IsConstantPoolAt(instr_ptr)) {
|
| int instruction_bits = *(reinterpret_cast<int*>(instr_ptr));
|
| - return DecodeConstantPoolLength(instruction_bits);
|
| + return DecodeConstantPoolLength(instruction_bits) / Assembler::kInstrSize;
|
| } else {
|
| return -1;
|
| }
|
|
|