This reverts commit r16419 for breaking the ARM simulator tests.
TEST=mjsunit/regress/regress-2624
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
23531013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16441
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
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;
}