Revision: 16441
Author:   [email protected]
Date:     Fri Aug 30 08:16:04 2013 UTC
Log: Revert "ConstantPoolSizeAt() should return number of Instructions instead, otherwise, some of the code will be treated as constant pool when printing code in ARM disassembler."

This reverts commit r16419 for breaking the ARM simulator tests.

TEST=mjsunit/regress/regress-2624
[email protected]

Review URL: https://codereview.chromium.org/23531013
http://code.google.com/p/v8/source/detail?r=16441

Modified:
 /branches/bleeding_edge/src/arm/disasm-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/disasm-arm.cc Thu Aug 29 11:49:46 2013 UTC +++ /branches/bleeding_edge/src/arm/disasm-arm.cc Fri Aug 30 08:16:04 2013 UTC
@@ -1655,7 +1655,7 @@
 int Decoder::ConstantPoolSizeAt(byte* instr_ptr) {
   if (IsConstantPoolAt(instr_ptr)) {
     int instruction_bits = *(reinterpret_cast<int*>(instr_ptr));
- return DecodeConstantPoolLength(instruction_bits) / Assembler::kInstrSize;
+    return DecodeConstantPoolLength(instruction_bits);
   } else {
     return -1;
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to