summaryrefslogtreecommitdiff
path: root/js/src/vm/NativeObject.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-30 01:52:56 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:38 -0400
commitf39640128068a3816a9bfc28d619f8fa8f161435 (patch)
tree020f127bb9c9a79f708d16038288480d0bfe9e26 /js/src/vm/NativeObject.h
parent7252778e37cb5f1528999d8051a1ffad500e59ab (diff)
downloaduxp-f39640128068a3816a9bfc28d619f8fa8f161435.tar.gz
Fix a thread assertion in NewCopiedArrayTryUseGroup
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 d0279556da..9cc6d54366 100644
--- a/js/src/vm/NativeObject.h
+++ b/js/src/vm/NativeObject.h
@@ -1150,7 +1150,7 @@ class NativeObject : public ShapedObject
}
inline DenseElementResult
- setOrExtendDenseElements(JSContext* cx, uint32_t start, const Value* vp, uint32_t count,
+ setOrExtendDenseElements(ExclusiveContext* cx, uint32_t start, const Value* vp, uint32_t count,
ShouldUpdateTypes updateTypes = ShouldUpdateTypes::Update);
bool shouldConvertDoubleElements() {