Skip to content

Conversation

@y-uti
Copy link
Contributor

@y-uti y-uti commented Apr 4, 2019

In binary operations such as iadd, isub, etc., the order of values popped from the operand stack is wrong. It should be right-to-left order. This PR will do:

  • fix implementations of those instructions
  • add test cases for integer arithmetics, logicals, and branches

@m3m0r7
Copy link
Member

m3m0r7 commented Apr 4, 2019

@y-uti
Thank you for your contribution to this project!

@m3m0r7 m3m0r7 merged commit cb95f98 into php-java:master Apr 4, 2019
@y-uti y-uti deleted the fix-operand-order branch April 5, 2019 12:48
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.

2 participants