Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index b39d9ee1227e255b1af96ef76ea81e46353ee97b..2678a5a6b5eae23a7e8efe4f1fd6d3d71fb28b78 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -3000,7 +3000,8 @@ void Assembler::CheckConstPool(bool force_emit, bool require_jump) { |
// Put down constant pool marker "Undefined instruction". |
// The data size helps disassembly know what to print. |
- emit(kConstantPoolMarker | EncodeConstantPoolLength(size_after_marker)); |
+ emit(kConstantPoolMarker | |
+ EncodeConstantPoolLength(size_after_marker / kPointerSize)); |
if (require_64_bit_align) { |
emit(kConstantPoolMarker); |