summaryrefslogtreecommitdiffstats
path: root/js/src/vm/RegExpShared.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/RegExpShared.h')
-rw-r--r--js/src/vm/RegExpShared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/RegExpShared.h b/js/src/vm/RegExpShared.h
index 4ff68e9ee1..07f57d1e7a 100644
--- a/js/src/vm/RegExpShared.h
+++ b/js/src/vm/RegExpShared.h
@@ -103,7 +103,7 @@ class RegExpShared
size_t byteCodeLength() const {
MOZ_ASSERT(byteCode);
- return byteCode->length;
+ return byteCode->length();
}
};