mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 1343723 - ResumePoint not needed for MNewLexicalEnvironmentObject. r=jandem
MozReview-Commit-ID: KNEhTjtKRiJ
This commit is contained in:
parent
f4b7ac79bd
commit
7fe93c1f53
@ -12063,7 +12063,7 @@ IonBuilder::jsop_pushlexicalenv(uint32_t index)
|
||||
current->add(ins);
|
||||
current->setEnvironmentChain(ins);
|
||||
|
||||
return resumeAfter(ins);
|
||||
return Ok();
|
||||
}
|
||||
|
||||
AbortReasonOr<Ok>
|
||||
@ -12077,7 +12077,7 @@ IonBuilder::jsop_copylexicalenv(bool copySlots)
|
||||
current->add(ins);
|
||||
current->setEnvironmentChain(ins);
|
||||
|
||||
return resumeAfter(ins);
|
||||
return Ok();
|
||||
}
|
||||
|
||||
AbortReasonOr<Ok>
|
||||
|
@ -11640,6 +11640,9 @@ class MNewLexicalEnvironmentObject
|
||||
bool appendRoots(MRootList& roots) const override {
|
||||
return roots.append(scope_);
|
||||
}
|
||||
AliasSet getAliasSet() const override {
|
||||
return AliasSet::None();
|
||||
}
|
||||
};
|
||||
|
||||
// Allocate a new LexicalEnvironmentObject from existing one
|
||||
@ -11667,6 +11670,11 @@ class MCopyLexicalEnvironmentObject
|
||||
bool possiblyCalls() const override {
|
||||
return true;
|
||||
}
|
||||
AliasSet getAliasSet() const override {
|
||||
return AliasSet::Load(AliasSet::ObjectFields |
|
||||
AliasSet::FixedSlot |
|
||||
AliasSet::DynamicSlot);
|
||||
}
|
||||
};
|
||||
|
||||
// Store to vp[slot] (slots that are not inline in an object).
|
||||
|
Loading…
Reference in New Issue
Block a user