4 ms·
36000 lines of handwritten assembler in v8? Not since the transition to ignition and turbofan... $ git clone https://github.com/v8/v8.git https://github.com/v8
by MrZipf 9y ago
36000 lines of handwritten assembler in v8? Not since the transition to ignition and turbofan...
$ git clone https://github.com/v8/v8.git 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.
- nbpname 9y agoFor 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.
- deleted 9y ago[deleted]