To achieve the objective of controlling order of optimizations; we perform the following steps:
- We gdb’ed through a simple hello world js application to observe the callpath that occurs when a js is jit’ed with the v8 chrome JIT engine
- we now understand that the hydrogen.cc present in the v8 engine is the centralized place where optimizations are controlled/implemented.
- all our experiments should probably take place through the sites in this file.