bellard

Results 36 comments of bellard

Good analysis. Our conclusion at the time was that it was not worth continuing on this track because there will still be corner cases which will give a large slowdown....

QuickJS may pass NULL pointers to memcpy with zero size. The C spec tells it is an undefined behavior but most C code do it, so the spec should be...

No. Your patch is too complicated and does not correctly handle optimisations. It is much simpler and efficient to combine the line and the column numbers in OP_line_num with (line_num

Unfortunately I don't use Windows so I cannot help.

Note: cosmopolitan is now natively supported by https://bellard.org/quickjs

done (use JS_GetModuleNamespace)

I see no problem with your code in the current version.