summaryrefslogtreecommitdiff
path: root/js/src/gc/Barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/gc/Barrier.h')
-rw-r--r--js/src/gc/Barrier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/gc/Barrier.h b/js/src/gc/Barrier.h
index 950c96314c..effc9233ea 100644
--- a/js/src/gc/Barrier.h
+++ b/js/src/gc/Barrier.h
@@ -282,7 +282,7 @@ template <typename S> struct ReadBarrierFunctor : public VoidDefaultAdaptor<S> {
template <>
struct InternalBarrierMethods<Value>
{
- static bool isMarkable(const Value& v) { return v.isMarkable(); }
+ static bool isMarkable(const Value& v) { return v.isGCThing(); }
static bool isMarkableTaggedPointer(const Value& v) { return isMarkable(v); }
static void preBarrier(const Value& v) {