summaryrefslogtreecommitdiffstats
path: root/js/src/jit/IonAnalysis.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-22 21:07:48 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 21:10:50 +0200
commitb9e692af05df98d3efc43996dda0983d31dfa7b4 (patch)
tree0e43271567377cb53f217653ff0c3ea2036d60d3 /js/src/jit/IonAnalysis.cpp
parent871e57fdd6d7e7aabf00f47f1b30e2ed084eed69 (diff)
downloadUXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar
UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.gz
UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.lz
UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.xz
UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.zip
Revert 1320408 part 15: Make addDataProperty static
Diffstat (limited to 'js/src/jit/IonAnalysis.cpp')
-rw-r--r--js/src/jit/IonAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/IonAnalysis.cpp b/js/src/jit/IonAnalysis.cpp
index a78ef232c..1e3cb0ad4 100644
--- a/js/src/jit/IonAnalysis.cpp
+++ b/js/src/jit/IonAnalysis.cpp
@@ -3794,7 +3794,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());