Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OCallMethod on HVirtual, when obj is in args #701

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

yuxiaomao
Copy link
Collaborator

Fixes #688 : OCallMethod obj f args where obj is also in args list. Inspired by OCallClosure.
Haxe compiler does not generated this bytecode in most cases, so I choose to keep the o->value hack if the new logic is not necessary.

I also tested when using only the new logic (keep o->value in R(f->nregs)) and it seems to work fine.

@yuxiaomao yuxiaomao merged commit 5e2b6f4 into HaxeFoundation:master Aug 8, 2024
8 checks passed
@yuxiaomao yuxiaomao deleted the dev-callmethodobjinargs branch August 8, 2024 07:30
GlassySundew pushed a commit to GlassySundew/hashlink that referenced this pull request Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hashlink access violation/segfault, when abstract is used as inerface
1 participant