mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147810 - a barriered load has an effect. r=luke
This commit is contained in:
parent
5f8854b4e5
commit
165a62f67e
@ -12635,6 +12635,10 @@ class MAsmJSLoadHeap
|
||||
|
||||
bool congruentTo(const MDefinition *ins) const override;
|
||||
AliasSet getAliasSet() const override {
|
||||
// When a barrier is needed make the instruction effectful by
|
||||
// giving it a "store" effect.
|
||||
if (barrierBefore_|barrierAfter_)
|
||||
return AliasSet::Store(AliasSet::AsmJSHeap);
|
||||
return AliasSet::Load(AliasSet::AsmJSHeap);
|
||||
}
|
||||
bool mightAlias(const MDefinition *def) const override;
|
||||
|
Loading…
Reference in New Issue
Block a user