mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix MSVC warning.
This commit is contained in:
parent
2b2f15e5f1
commit
3273dcef7a
@ -71,7 +71,7 @@ JSCompartment::JSCompartment(JSRuntime *rt)
|
||||
#ifdef JS_METHODJIT
|
||||
jaegerCompartment(NULL),
|
||||
#endif
|
||||
propertyTree(this),
|
||||
propertyTree(thisForCtor()),
|
||||
debugMode(rt->debugMode),
|
||||
#if ENABLE_YARR_JIT
|
||||
regExpAllocator(NULL),
|
||||
|
@ -489,6 +489,7 @@ struct JS_FRIEND_API(JSCompartment) {
|
||||
|
||||
BackEdgeMap backEdgeTable;
|
||||
|
||||
JSCompartment *thisForCtor() { return this; }
|
||||
public:
|
||||
js::MathCache *getMathCache(JSContext *cx) {
|
||||
return mathCache ? mathCache : allocMathCache(cx);
|
||||
|
Loading…
Reference in New Issue
Block a user