зеркало из https://github.com/mozilla/gecko-dev.git
In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
--HG-- extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
This commit is contained in:
Родитель
64924e098d
Коммит
0d527be1c0
|
@ -2959,7 +2959,7 @@ sandbox_resolve(JSContext *cx, JSObject *obj, jsval id, uintN flags,
|
|||
|
||||
static JSClass sandbox_class = {
|
||||
"sandbox",
|
||||
JSCLASS_NEW_RESOLVE,
|
||||
JSCLASS_NEW_RESOLVE | JSCLASS_GLOBAL_FLAGS,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
JS_PropertyStub, JS_PropertyStub,
|
||||
sandbox_enumerate, (JSResolveOp)sandbox_resolve,
|
||||
|
|
Загрузка…
Ссылка в новой задаче