News for hackers. Stuff that matters.
Re:HolyJit: A New Hope by MrZipf on Friday October 20, 2017 @10:52AM (#15516226)
36000 lines of handwritten assembler in v8? Not since the transition to ignition and turbofan...

$ git clone https://github.com/v8/v8.git $ cd v8 $ find . -name '*.S'

There's still some macro assembler in the built-in's but it's emitted rather than being assembler.

Re:HolyJit: A New Hope by nbpname on Friday October 20, 2017 @10:56AM (#15516254)
For both SpiderMonkey and v8, this is counting the number of calls to the MacroAssembler. SpiderMonkey commonly use the prefix "masm", while v8 uses the macro "__ " to alias the MacroAssembler.

The MacroAssembler, is basically what is used to produce assembly code in both JavaScript engines.