зеркало из https://github.com/mozilla/gecko-dev.git
Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin).
This commit is contained in:
Родитель
2f4abc99e3
Коммит
c373a9c77a
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче