Commit f68c4452 authored by ulan@chromium.org's avatar ulan@chromium.org

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
parent 5068079a
...@@ -3000,7 +3000,8 @@ void Assembler::CheckConstPool(bool force_emit, bool require_jump) { ...@@ -3000,7 +3000,8 @@ void Assembler::CheckConstPool(bool force_emit, bool require_jump) {
// Put down constant pool marker "Undefined instruction". // Put down constant pool marker "Undefined instruction".
// The data size helps disassembly know what to print. // 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) { if (require_64_bit_align) {
emit(kConstantPoolMarker); emit(kConstantPoolMarker);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment