Skip to content

Conversation

@ChenZhuoSteve
Copy link

fix: correct argument index usage in assignArgumentBitRatio

Previously, assignArgumentBitRatio incorrectly used the caller's argument index (i) to update the callee function's argumentBitRatios array. This could cause incorrect bit ratio assignment when the caller and callee functions have different argument orders. This commit fixes the bug by using the given callee argument index (argumentIndex) instead.

steve.chen added 2 commits May 28, 2025 11:21
…mentBitRatio

The previous implementation incorrectly used the caller's argument index to update the callee's argumentBitRatios, which could cause mismatches if the parameter order differs. Now it uses the correct argumentIndex as intended.
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.

1 participant