Skip to content

Conversation

@wxiaoyun
Copy link
Member

@wxiaoyun wxiaoyun commented Apr 17, 2024

Description

  • At compile time, arguments to function call are pushed onto operand_stack using LDC in order.
  • When running CALL, the popped values are in the reversed order. So CALL instruction need to un-reverse the arguments

Other changes

  • Update CI/CD to run build script

@wxiaoyun wxiaoyun added the bug Something isn't working label Apr 17, 2024
@wxiaoyun wxiaoyun requested a review from leonidas1712 April 17, 2024 01:38
@wxiaoyun wxiaoyun self-assigned this Apr 17, 2024
@wxiaoyun wxiaoyun enabled auto-merge April 17, 2024 02:26
Copy link
Contributor

@leonidas1712 leonidas1712 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wxiaoyun wxiaoyun merged commit 50776eb into crabscript:master Apr 17, 2024
@wxiaoyun wxiaoyun deleted the vm-fix-call branch April 17, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants