kNoCodeAgeSequenceLength is in bytes on ia32/x64, but in instructions on arm/mips.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
183893006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19617
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
// Fail hard and early if we enter this code object again.
byte* pointer = code->FindCodeAgeSequence();
if (pointer != NULL) {
- pointer += kNoCodeAgeSequenceLength;
+ pointer += kNoCodeAgeSequenceLength * Assembler::kInstrSize;
} else {
pointer = code->instruction_start();
}
// Fail hard and early if we enter this code object again.
byte* pointer = code->FindCodeAgeSequence();
if (pointer != NULL) {
- pointer += kNoCodeAgeSequenceLength;
+ pointer += kNoCodeAgeSequenceLength * Assembler::kInstrSize;
} else {
pointer = code->instruction_start();
}