summaryrefslogtreecommitdiff
path: root/js/src/vm/NativeObject.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-09 01:02:39 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:29 -0400
commiteb6c9ea6bb78bbcbc9c4a74830649527f4df980a (patch)
tree189925d10e3f66d7ec18863540f5ddb64154c128 /js/src/vm/NativeObject.h
parentfe760880b72f08b75a9adacdcad51d71eac5dfa9 (diff)
downloaduxp-eb6c9ea6bb78bbcbc9c4a74830649527f4df980a.tar.gz
1320408 - Part 25: Change NativeObject::toDictionaryMode to static method.
Diffstat (limited to 'js/src/vm/NativeObject.h')
-rw-r--r--js/src/vm/NativeObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/NativeObject.h b/js/src/vm/NativeObject.h
index 6565421004..d0279556da 100644
--- a/js/src/vm/NativeObject.h
+++ b/js/src/vm/NativeObject.h
@@ -510,7 +510,7 @@ class NativeObject : public ShapedObject
*/
bool setSlotSpan(ExclusiveContext* cx, uint32_t span);
- bool toDictionaryMode(ExclusiveContext* cx);
+ static MOZ_MUST_USE bool toDictionaryMode(ExclusiveContext* cx, HandleNativeObject obj);
private:
friend class TenuringTracer;