titzer / virgil

A fast and lightweight native programming language
1.24k stars 48 forks source link

Minor updates to System.v3 and DarwinConst.v3 etc. #57

Closed syrusua-t closed 2 years ago

syrusua-t commented 2 years ago

Hi Dr.Titzer,

Those are minor changes of syntax & 64bit issues. Please let me know if there are any further problem.

Tibbers

syrusua-t commented 2 years ago

Hi Dr.Titzer,

Got it! I've modified the code accordingly.

Tibbers

syrusua-t commented 2 years ago

Hi Dr.Titzer,

When running system tests, I noticed that after deleting the "DARWIN =>" pattern match, the code fail to compile since emitCallKernel (SsaX86_64Gen.v3 Line 536) will complain "context.fail1("unsupported kernel on x86-64: %s", kernel.name); ". Should I add DARWIN back or change LINUX to wildcard?

Tibbers

syrusua-t commented 2 years ago

Hi Dr.Titzer,

I've modified the code accordingly.

Thanks Tibbers