diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2019-01-11 19:27:20 +0000 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2019-01-29 23:06:10 +0000 |
commit | a3d232b697dfc7c8833fc1855abbc190fe0d5970 (patch) | |
tree | fb02e9d3383f6342944fc4f2cd494ea86d42a92a /src/mongo/scripting/mozjs/base.cpp | |
parent | 941c4fbab21029e3bbe577d953250116cd0e8533 (diff) | |
download | mongo-a3d232b697dfc7c8833fc1855abbc190fe0d5970.tar.gz |
SERVER-29286 import and use mozjs-60
Diffstat (limited to 'src/mongo/scripting/mozjs/base.cpp')
-rw-r--r-- | src/mongo/scripting/mozjs/base.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/base.cpp b/src/mongo/scripting/mozjs/base.cpp index c7496dc073e..b36edd7375f 100644 --- a/src/mongo/scripting/mozjs/base.cpp +++ b/src/mongo/scripting/mozjs/base.cpp @@ -54,10 +54,11 @@ void BaseInfo::enumerate(JSContext* cx, JS::HandleObject obj, JS::AutoIdVector& properties, bool enumerableOnly) {} -void BaseInfo::finalize(JSFreeOp* fop, JSObject* obj) {} +void BaseInfo::finalize(js::FreeOp* fop, JSObject* obj) {} void BaseInfo::getProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, + JS::HandleValue receiver, JS::MutableHandleValue vp) {} void BaseInfo::hasInstance(JSContext* cx, JS::HandleObject obj, @@ -71,7 +72,8 @@ void BaseInfo::resolve(JSContext* cx, JS::HandleObject obj, JS::HandleId id, boo void BaseInfo::setProperty(JSContext* cx, JS::HandleObject obj, JS::HandleId id, - JS::MutableHandleValue vp, + JS::HandleValue v, + JS::HandleValue receiver, JS::ObjectOpResult& result) {} } // namespace mozjs |