diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 23:29:58 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:26 -0400 |
commit | caf39feeeb457ffb143110826a0220211c00afb6 (patch) | |
tree | 3734dd19f40a0450c4dca46e8dd8de01ff1955d0 /js/src/jit | |
parent | 3a5176f4b25a2b90cefe14eb2c2de57113dc21ac (diff) | |
download | UXP-caf39feeeb457ffb143110826a0220211c00afb6.tar UXP-caf39feeeb457ffb143110826a0220211c00afb6.tar.gz UXP-caf39feeeb457ffb143110826a0220211c00afb6.tar.lz UXP-caf39feeeb457ffb143110826a0220211c00afb6.tar.xz UXP-caf39feeeb457ffb143110826a0220211c00afb6.zip |
1320408 - Part 15: Change NativeObject::addDataProperty to static method.
Diffstat (limited to 'js/src/jit')
-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 90fa1864a..5fc624fb1 100644 --- a/js/src/jit/IonAnalysis.cpp +++ b/js/src/jit/IonAnalysis.cpp @@ -4055,7 +4055,7 @@ AnalyzePoppedThis(JSContext* cx, ObjectGroup* group, // Add the property to the object, being careful not to update type information. DebugOnly<unsigned> slotSpan = baseobj->slotSpan(); MOZ_ASSERT(!baseobj->containsPure(id)); - if (!baseobj->addDataProperty(cx, id, baseobj->slotSpan(), JSPROP_ENUMERATE)) + if (!NativeObject::addDataProperty(cx, baseobj, id, baseobj->slotSpan(), JSPROP_ENUMERATE)) return false; MOZ_ASSERT(baseobj->slotSpan() != slotSpan); MOZ_ASSERT(!baseobj->inDictionaryMode()); |