mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 1015135 - IonMonkey: Enable ignored type policies, r=bbouvier
This commit is contained in:
parent
97538ad239
commit
61e2f67797
@ -4657,6 +4657,9 @@ class MFromCharCode
|
||||
public:
|
||||
INSTRUCTION_HEADER(FromCharCode)
|
||||
|
||||
TypePolicy *typePolicy() {
|
||||
return this;
|
||||
}
|
||||
static MFromCharCode *New(TempAllocator &alloc, MDefinition *code) {
|
||||
return new(alloc) MFromCharCode(code);
|
||||
}
|
||||
@ -5514,6 +5517,10 @@ class MLambdaPar
|
||||
return getOperand(1);
|
||||
}
|
||||
|
||||
TypePolicy *typePolicy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
const LambdaFunctionInfo &info() const {
|
||||
return info_;
|
||||
}
|
||||
@ -9391,6 +9398,9 @@ class MGuardThreadExclusive
|
||||
AliasSet getAliasSet() const {
|
||||
return AliasSet::None();
|
||||
}
|
||||
TypePolicy *typePolicy() {
|
||||
return this;
|
||||
}
|
||||
bool possiblyCalls() const {
|
||||
return true;
|
||||
}
|
||||
@ -9957,6 +9967,9 @@ class MIsCallable
|
||||
return new(alloc) MIsCallable(obj);
|
||||
}
|
||||
|
||||
TypePolicy *typePolicy() {
|
||||
return this;
|
||||
}
|
||||
MDefinition *object() const {
|
||||
return getOperand(0);
|
||||
}
|
||||
@ -10016,6 +10029,9 @@ class MHasClass
|
||||
return new(alloc) MHasClass(obj, clasp);
|
||||
}
|
||||
|
||||
TypePolicy *typePolicy() {
|
||||
return this;
|
||||
}
|
||||
MDefinition *object() const {
|
||||
return getOperand(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user