mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Added missing attributes. Fixed slotWrite stack bug.
This commit is contained in:
parent
e0839b608f
commit
462479a002
@ -1390,6 +1390,18 @@ namespace MetaData {
|
||||
ca->memberMod = Attribute::Constructor;
|
||||
return ca;
|
||||
}
|
||||
else
|
||||
if (name == world.identifiers["override"]) {
|
||||
ca = new CompoundAttribute();
|
||||
ca->overrideMod = Attribute::DoOverride;
|
||||
return ca;
|
||||
}
|
||||
else
|
||||
if (name == world.identifiers["virtual"]) {
|
||||
ca = new CompoundAttribute();
|
||||
ca->memberMod = Attribute::Virtual;
|
||||
return ca;
|
||||
}
|
||||
}
|
||||
}
|
||||
// fall thru to execute a readReference on the identifier...
|
||||
|
@ -249,6 +249,7 @@
|
||||
checked_cast<FixedInstance *>(obj)->slots[slotIndex].value = a;
|
||||
else
|
||||
checked_cast<DynamicInstance *>(obj)->slots[slotIndex].value = a;
|
||||
push(a);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user