From f68c4452d3570f7ac1ce80565eef577859d195b5 Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Fri, 10 May 2013 09:03:51 +0000 Subject: [PATCH] ARM: fix constant pool length emitted for disassembler. R=jfb@chromium.org Review URL: https://chromiumcodereview.appspot.com/14972007 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14607 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/arm/assembler-arm.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc index b39d9ee..2678a5a 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); -- 2.7.4