mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845519 - Spot-fix Unrooted-related problems. r=terrence
--HG-- extra : rebase_source : d725080582e51c4d6385b0adbb188933641988bd
This commit is contained in:
parent
7ed8fd38e9
commit
d7df2816c1
@ -502,7 +502,7 @@ class IonBuilder : public MIRGenerator
|
||||
|
||||
void clearForBackEnd();
|
||||
|
||||
UnrootedScript script() const { return script_.get(); }
|
||||
JSScript *script() const { return script_.get(); }
|
||||
|
||||
CodeGenerator *backgroundCodegen() const { return backgroundCodegen_; }
|
||||
void setBackgroundCodegen(CodeGenerator *codegen) { backgroundCodegen_ = codegen; }
|
||||
|
@ -310,7 +310,7 @@ TypeInferenceOracle::elementReadIsTypedArray(RawScript script, jsbytecode *pc, i
|
||||
{
|
||||
// Check whether the object is a typed array and index is int32 or double.
|
||||
StackTypeSet *obj = script->analysis()->poppedTypes(pc, 1);
|
||||
StackTypeSet *id = DropUnrooted(script)->analysis()->poppedTypes(pc, 0);
|
||||
StackTypeSet *id = script->analysis()->poppedTypes(pc, 0);
|
||||
|
||||
JSValueType idType = id->getKnownTypeTag();
|
||||
if (idType != JSVAL_TYPE_INT32 && idType != JSVAL_TYPE_DOUBLE)
|
||||
|
Loading…
Reference in New Issue
Block a user