diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-22 21:07:48 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-22 21:07:48 +0100 |
commit | b1cd96989bb5107f83895c2320e0046d84b448ab (patch) | |
tree | 468d90d65d7cb753f0e99fada6bc6798a3ff0e31 /js/src/jit/IonAnalysis.cpp | |
parent | a7888b8cf20691a4090715ab9b055ec3cb75f5e8 (diff) | |
download | UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.gz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.lz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.xz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.zip |
Revert 1320408 part 15: Make addDataProperty static
Diffstat (limited to 'js/src/jit/IonAnalysis.cpp')
-rw-r--r-- | js/src/jit/IonAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp index a4724bca4..38604612c 100644 --- a/js/src/jit/IonAnalysis.cpp +++ b/js/src/jit/IonAnalysis.cpp @@ -4060,7 +4060,7 @@ AnalyzePoppedThis(JSContext* cx, DPAConstraintInfo& constraintInfo, ObjectGroup* // Add the property to the object, being careful not to update type information. DebugOnly<unsigned> slotSpan = baseobj->slotSpan(); MOZ_ASSERT(!baseobj->containsPure(id)); - if (!NativeObject::addDataProperty(cx, baseobj, id, baseobj->slotSpan(), JSPROP_ENUMERATE)) + if (!baseobj->addDataProperty(cx, id, baseobj->slotSpan(), JSPROP_ENUMERATE)) return false; MOZ_ASSERT(baseobj->slotSpan() != slotSpan); MOZ_ASSERT(!baseobj->inDictionaryMode()); |