summaryrefslogtreecommitdiffstats
path: root/js/src/jscompartmentinlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jscompartmentinlines.h')
-rw-r--r--js/src/jscompartmentinlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jscompartmentinlines.h b/js/src/jscompartmentinlines.h
index 08d315db0..6a54bc5a6 100644
--- a/js/src/jscompartmentinlines.h
+++ b/js/src/jscompartmentinlines.h
@@ -61,7 +61,7 @@ inline bool
JSCompartment::wrap(JSContext* cx, JS::MutableHandleValue vp)
{
/* Only GC things have to be wrapped or copied. */
- if (!vp.isMarkable())
+ if (!vp.isGCThing())
return true;
/*