summaryrefslogtreecommitdiffstats
path: root/js/src/vm/TypeInference.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 19:55:05 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:29:34 +0000
commite9aac71c6d7fa67c7581e2bd75accae5a9699165 (patch)
tree4be98a3e8e1e87f974058bce82fe060b2db1885c /js/src/vm/TypeInference.cpp
parent85f9a95ddbc39a1b120eeb8280685e1ae40dc5dc (diff)
downloadUXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.gz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.lz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.tar.xz
UXP-e9aac71c6d7fa67c7581e2bd75accae5a9699165.zip
Remove and clean up more code.
Diffstat (limited to 'js/src/vm/TypeInference.cpp')
-rw-r--r--js/src/vm/TypeInference.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/TypeInference.cpp b/js/src/vm/TypeInference.cpp
index 2160dbc51..0551e2c58 100644
--- a/js/src/vm/TypeInference.cpp
+++ b/js/src/vm/TypeInference.cpp
@@ -3393,7 +3393,7 @@ JSFunction::setTypeForScriptedFunction(ExclusiveContext* cx, HandleFunction fun,
/////////////////////////////////////////////////////////////////////
void
-PreliminaryObjectArray::registerNewObject(JSObject* res)
+PreliminaryObjectArray::registerNewObject(PlainObject* res)
{
// The preliminary object pointers are weak, and won't be swept properly
// during nursery collections, so the preliminary objects need to be
@@ -3411,7 +3411,7 @@ PreliminaryObjectArray::registerNewObject(JSObject* res)
}
void
-PreliminaryObjectArray::unregisterObject(JSObject* obj)
+PreliminaryObjectArray::unregisterObject(PlainObject* obj)
{
for (size_t i = 0; i < COUNT; i++) {
if (objects[i] == obj) {