mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 713226 - Followup fix (r=bhackett)
This commit is contained in:
parent
80cadd1390
commit
28392d81e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user