diff options
Diffstat (limited to 'js/src/regexp/regexp-shim.h')
-rw-r--r-- | js/src/regexp/regexp-shim.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/regexp/regexp-shim.h b/js/src/regexp/regexp-shim.h index 6b6a8c639..7677da084 100644 --- a/js/src/regexp/regexp-shim.h +++ b/js/src/regexp/regexp-shim.h @@ -957,7 +957,7 @@ class JSRegExp : public HeapObject { private: js::RegExpShared* inner() { - return value_.toGCThing()->as<js::RegExpShared>(); + return reinterpret_cast<js::RegExpShared*>(value_.toGCThing()); } }; |