Skip to content

Commit 47543f1

Browse files
committed
Add code to remove redundant goto
1 parent d59b043 commit 47543f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

semantic_actions_utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ namespace semantic_actions_util {
116116
ofstream java_bytecode_file;
117117
java_bytecode_file.open("java_bytecode.j");
118118
for(auto instruction: outputCode){
119+
// if(instruction.find("goto _") != string::npos) continue;
119120
java_bytecode_file<< instruction<< endl;
120121
}
121122
java_bytecode_file.close();

0 commit comments

Comments
 (0)