зеркало из https://github.com/mozilla/pjs.git
Bug 713226 - Followup fix (r=bhackett)
This commit is contained in:
Родитель
0c2532be14
Коммит
f374fbf6a8
|
@ -5630,9 +5630,9 @@ mjit::Compiler::jsop_setprop(PropertyName *name, bool popGuaranteed)
|
|||
JSOp op = JSOp(*PC);
|
||||
|
||||
#ifdef JSGC_INCREMENTAL_MJ
|
||||
/* Write barrier. We only have type information for JSOP_SETPROP. */
|
||||
/* Write barrier. We don't have type information for JSOP_SETNAME. */
|
||||
if (cx->compartment->needsBarrier() &&
|
||||
(!types || op != JSOP_SETPROP || types->propertyNeedsBarrier(cx, id)))
|
||||
(!types || op == JSOP_SETNAME || types->propertyNeedsBarrier(cx, id)))
|
||||
{
|
||||
jsop_setprop_slow(name);
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче