3 ms·
Was about to post this. In addition dead-code elimination is (still) disabled in V8 as far as I know and it's not that big of a deal anymore. TurboFan IR (and
by inglor 8y ago
Was about to post this. In addition dead-code elimination is (still) disabled in V8 as far as I know and it's not that big of a deal anymore.
TurboFan IR (and Turbofan in general) is way simpler and more readable than Crankshaft. Figuring out what's optimized and how is easy with the CodeStubAssembler. I remember nights of head-scratching with CrankShaft :D
- chrisseaton 8y ago> dead-code elimination is (still) disabled in V8 How can you disable dead-code elimination in a graphical IR? I would have thought it was implicit?
- inglor 8y agoI just checked the code - it is explicit (there is literally a file called dead-code-elimination.cc that shows the reductions) and it's turned on and it's added in pipeline.cc :) So apparently it's been turned on for a while now which is good (it was off for a while before that).