-
- Downloads
Bug 1664357: Inline JSOp::New r=jandem
We already did the hard work to handle `this` creation for transpiling, so inlining is pretty straight-forward. `patchInlinedReturn` needs to know whether we're calling a derived constructor to avoid repeated bailouts in `MReturnFromCtor`. I used a similar solution to what anba did here: https://phabricator.services.mozilla.com/D58785). Once Ion is gone, we could consider modifying `MReturnFromCtor` instead. Differential Revision: https://phabricator.services.mozilla.com/D89873
Showing
- js/src/jit/CacheIR.cpp 1 addition, 0 deletionsjs/src/jit/CacheIR.cpp
- js/src/jit/CompileInfo.h 5 additions, 0 deletionsjs/src/jit/CompileInfo.h
- js/src/jit/TrialInlining.cpp 1 addition, 0 deletionsjs/src/jit/TrialInlining.cpp
- js/src/jit/WarpBuilder.cpp 29 additions, 19 deletionsjs/src/jit/WarpBuilder.cpp
- js/src/jit/WarpBuilder.h 4 additions, 2 deletionsjs/src/jit/WarpBuilder.h
- js/src/jit/WarpCacheIRTranspiler.cpp 59 additions, 33 deletionsjs/src/jit/WarpCacheIRTranspiler.cpp
Loading
Please register or sign in to comment