[JAEGER] House cleaning... re-org.
This commit is contained in:
@@ -61,9 +61,9 @@ NotCheckedSSE2;
|
||||
#endif
|
||||
|
||||
mjit::Compiler::Compiler(JSContext *cx, JSScript *script, JSFunction *fun, JSObject *scopeChain)
|
||||
: CompilerBase(cx), cx(cx), script(script), scopeChain(scopeChain),
|
||||
globalObj(scopeChain->getGlobal()), fun(fun), analysis(cx, script), jumpMap(NULL),
|
||||
frame(cx, script, masm), cg(masm, frame), branchPatches(ContextAllocPolicy(cx))
|
||||
: cx(cx), script(script), scopeChain(scopeChain), globalObj(scopeChain->getGlobal()), fun(fun),
|
||||
analysis(cx, script), jumpMap(NULL), frame(cx, script, masm), cg(masm, frame),
|
||||
branchPatches(ContextAllocPolicy(cx))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -304,6 +304,13 @@ mjit::Compiler::labelOf(jsbytecode *pc)
|
||||
return jumpMap[offs];
|
||||
}
|
||||
|
||||
JSC::ExecutablePool *
|
||||
mjit::Compiler::getExecPool(size_t size)
|
||||
{
|
||||
ThreadData *jaegerData = &JS_METHODJIT_DATA(cx);
|
||||
return jaegerData->execPool->poolForSize(size);
|
||||
}
|
||||
|
||||
uint32
|
||||
mjit::Compiler::fullAtomIndex(jsbytecode *pc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user