fourthTier: FTL should better report its compile-times and it should be able...
fourthTier: FTL should better report its compile-times and it should be able to run in a mode where it doesn't spend time generating OSR exits https://bugs.webkit.org/show_bug.cgi?id=118401 Reviewed by Sam Weinig. Add two new OSR exit modes, which are useful only for playing with compile times: - All OSR exits are llvm.trap(). - OSR exits don't take arguments and have no exit value marshaling. * dfg/DFGPlan.cpp: (JSC::DFG::Plan::compileInThread): (JSC::DFG::Plan::compileInThreadImpl): * dfg/DFGPlan.h: (Plan): * ftl/FTLIntrinsicRepository.h: (FTL): * ftl/FTLLowerDFGToLLVM.cpp: (JSC::FTL::LowerDFGToLLVM::appendOSRExit): (LowerDFGToLLVM): (JSC::FTL::LowerDFGToLLVM::emitOSRExitCall): * ftl/FTLOutput.h: (JSC::FTL::Output::trap): * runtime/Options.h: (JSC): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 81 additions and 8 deletions