Skip to content

Fix issue 222 - Tool Instruction Counter: Wrong total number of instructions and Wrong SSLI instruction type#223

Open
neittien0110 wants to merge 2 commits intoTheThirdOne:masterfrom
neittien0110:master
Open

Fix issue 222 - Tool Instruction Counter: Wrong total number of instructions and Wrong SSLI instruction type#223
neittien0110 wants to merge 2 commits intoTheThirdOne:masterfrom
neittien0110:master

Conversation

@neittien0110
Copy link

See also: #222

SLLI  instruction  should be   I_FORMAT
See also: TheThirdOne#222
Wrong total number of instructions
Detail: **counter++; ** is always executed before checking stmt !=null
Propose: move instruction counter++; to be inside the block if(stmt != null) { }
See also:  TheThirdOne#222
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