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
This commit is contained in:
ulan@chromium.org 2013-05-10 09:03:51 +00:00
parent 5068079aff
commit f68c4452d3

View File

@ -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);