Skip to content

Commit f91a152

Browse files
Add If documentation
1 parent f7b8c71 commit f91a152

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ label can be determined.
2020
The generated code consists of a header,footer alongside with the statment list that contains the rest of the code,where the header appends the equivalent java byte-code for the class,the main method and sets the stack and locals size.
2121
The footer generetes a return from the method.
2222

23+
## IF
24+
-Sends the true list of the boolean expression and the first marker instruction index to the backpatching function.
25+
-Sends the false list of the boolean expression and the second marker instrcution index to the backpatching function.
26+
-Perform the merging of lists logic
27+
2328
## Assumptions
2429
### Java Used Grammar
2530
The input programs we are dealing with follow the below rules. These aren't a full java grammar but a subset of it.

0 commit comments

Comments
 (0)