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

Same PC different jumps #160

Closed
clearloop opened this issue Oct 24, 2023 · 0 comments · Fixed by #244
Closed

Same PC different jumps #160

clearloop opened this issue Oct 24, 2023 · 0 comments · Fixed by #244
Labels
optimization Compiler optimization

Comments

@clearloop
Copy link
Member

Describe the feature

#153 has refactored the bytecode of calling internal functions,

self.table.offset(self.masm.pc_offset(), 5);
self.table.call(self.masm.pc_offset(), index); 

has not been supported yet, so here we are using

self.table.offset(self.masm.pc_offset(), 6);
self.masm._jumpdest()?;
self.table.call(self.masm.pc_offset(), index); 

with one more JUMPDEST for enabling the feature

Solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Compiler optimization
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant