diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-08-18 06:25:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | c1bea102df3f2907f345b89ff0f66f5055ac4767 (patch) | |
tree | 309d26329d190e24e9b4ebc36e89c42e369f0560 /README.md | |
parent | 81c5f8e750fcda6a2451fb54604130431434f88f (diff) |
Add extern funcs, parameter registers, fix asm_rm RSP bug
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -29,7 +29,9 @@ to make work on little endian as little as possible, meaning it would be a small Verify all members of an extern struct are extern as well. Verify all parameters are of extern types for extern functions.\ Verify all code execution paths in a function return a value, if the function excepts return values.\ Show compile error if the result of a function call is ignored.\ -Show compile error if function result type and assigned to variable have different types. +Show compile error if function result type and assigned to variable have different types.\ +Show compile error if variables are assigned to but not used.\ +Push arguments in reverse order (right-to-left, cdecl) (in program.c, since on windows we will need to support stdcall which is left-to-right). ## Urgent Simplify src/compiler.c, it's pretty complex with the thread work done right now. The thread work should be put in a thread dispatch file that only handles thread job dispatching. |