public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v1 0/2] codegen: x64: evaluate expression considering the data return data
@ 2024-10-05  6:59 Carlos Maniero
  2024-10-05  6:59 ` [PATCH olang v1 1/2] scope: register functions into the scope Carlos Maniero
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-10-05  6:59 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

We were not using the proper register size to evaluate expressions,
instead we were always using 64 bits register. This patchset fixes this.

Carlos Maniero (2):
  scope: register functions into the scope
  codegen: x64: evaluate expression considering the data return data
    size

 src/checker.c                   |   3 +
 src/codegen_linux_x86_64.c      | 314 ++++++++++++++++++++++----------
 tests/olc/0028_function_call.ol |   4 +-
 3 files changed, 223 insertions(+), 98 deletions(-)


base-commit: 4768477a7c34f07aeb853fa1e100c77f280d9a57
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-06 11:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-05  6:59 [PATCH olang v1 0/2] codegen: x64: evaluate expression considering the data return data Carlos Maniero
2024-10-05  6:59 ` [PATCH olang v1 1/2] scope: register functions into the scope Carlos Maniero
2024-10-05  6:59 ` [PATCH olang v1 2/2] codegen: x64: evaluate expression considering the data return data size Carlos Maniero
2024-10-05  7:00   ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-06 13:31 ` [PATCH olang v1 0/2] codegen: x64: evaluate expression considering the data return data Johnny Richard

Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox