mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Fix --disable-methodjit build. (r=billm)
--HG-- extra : rebase_source : 4a76e8513611d8eb9ad16d5d3c0465692bfa4105
This commit is contained in:
parent
f054d767fb
commit
2ee477a69c
@ -52,6 +52,10 @@
|
||||
|
||||
#include "jsgcinlines.h"
|
||||
|
||||
#if ENABLE_YARR_JIT
|
||||
#include "assembler/jit/ExecutableAllocator.h"
|
||||
#endif
|
||||
|
||||
using namespace js;
|
||||
using namespace js::gc;
|
||||
|
||||
|
@ -585,8 +585,8 @@ InvokeSessionGuard::invoke(JSContext *cx) const
|
||||
formals_[-2] = savedCallee_;
|
||||
formals_[-1] = savedThis_;
|
||||
|
||||
void *code;
|
||||
#ifdef JS_METHODJIT
|
||||
void *code;
|
||||
if (!optimized() || !(code = script_->getJIT(false /* !constructing */)->invokeEntry))
|
||||
#else
|
||||
if (!optimized())
|
||||
|
Loading…
Reference in New Issue
Block a user