Hi,
On 04/01/2013 07:32 AM, 井関正也 wrote:
I'm interested in IonMonkey.
I read some code in js/src/ion.But I can't understand how IonMonkey analyze the
code.
When type javascript code in console or commnad line , What function call
firstly?
I don't know how the js-shell command line is feeding commands into
IonMonkey, but IonMonkey check if it can be used for compilation in
js::ion::CanEnter
js::ion::CanEnterAtBranch (for OSR)
Then compiles the bytecode to assembly under
IonCompile<SequentialCompileContext>
CompileBackEnd (potentially called from a separated thread)
js::ion::CodeGenerator::link
And the produced assembly is then executed under
EnterIon
callers of js::mjit::Compiler::ionCompileHelper (from JäegerMonkey
generated code)
--
Nicolas B. Pierron
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals