diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 00:47:09 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:28 -0400 |
commit | 72f723f391e5bfb18649d3c26e781c2b0e28e328 (patch) | |
tree | 13bd3146fb3bcb8e9c9f8ee1ee781464355149f2 /js/src/jsapi.cpp | |
parent | 2b0c3663441e51e7ec1fa32411e2339cf81e19b9 (diff) | |
download | UXP-72f723f391e5bfb18649d3c26e781c2b0e28e328.tar UXP-72f723f391e5bfb18649d3c26e781c2b0e28e328.tar.gz UXP-72f723f391e5bfb18649d3c26e781c2b0e28e328.tar.lz UXP-72f723f391e5bfb18649d3c26e781c2b0e28e328.tar.xz UXP-72f723f391e5bfb18649d3c26e781c2b0e28e328.zip |
1320408 - Part 23: Change RegExpObject::{getShared,createShared,dumpBytecode} to static method.
Diffstat (limited to 'js/src/jsapi.cpp')
-rw-r--r-- | js/src/jsapi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp index e73865265..6d6eacec2 100644 --- a/js/src/jsapi.cpp +++ b/js/src/jsapi.cpp @@ -6054,7 +6054,7 @@ JS_ExecuteRegExp(JSContext* cx, HandleObject obj, HandleObject reobj, char16_t* if (!input) return false; - return ExecuteRegExpLegacy(cx, res, reobj->as<RegExpObject>(), input, indexp, test, rval); + return ExecuteRegExpLegacy(cx, res, reobj.as<RegExpObject>(), input, indexp, test, rval); } JS_PUBLIC_API(bool) @@ -6068,7 +6068,7 @@ JS_ExecuteRegExpNoStatics(JSContext* cx, HandleObject obj, char16_t* chars, size if (!input) return false; - return ExecuteRegExpLegacy(cx, nullptr, obj->as<RegExpObject>(), input, indexp, test, + return ExecuteRegExpLegacy(cx, nullptr, obj.as<RegExpObject>(), input, indexp, test, rval); } |