Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin).

This commit is contained in:
David Anderson 2010-01-15 12:05:01 -08:00
Родитель 2f4abc99e3
Коммит c373a9c77a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -14840,7 +14840,7 @@ TraceRecorder::record_JSOP_LENGTH()
// slot_ins is the value from the slot; right-shift by 2 bits to get
// the length (see GetArgsLength in jsfun.cpp).
LIns* v_ins = lir->ins1(LIR_i2f, lir->ins2i(LIR_rsh, slot_ins, 2));
LIns* v_ins = lir->ins1(LIR_i2f, lir->ins2i(LIR_rsh, p2i(slot_ins), 2));
set(&l, v_ins);
return ARECORD_CONTINUE;
}