removed duped if statement
This commit is contained in:
parent
f28d3b4047
commit
8931c151f8
@ -79,11 +79,6 @@ a64inst_instruction *parser(char asmLine[]){
|
||||
return(instr);
|
||||
}
|
||||
|
||||
if(strcmp(asmLine, HALT_ASM_CMD) == 0){
|
||||
instr->type = a64inst_HALT;
|
||||
return(instr);
|
||||
}
|
||||
|
||||
//"opcode operand1, {operand2}, ..."
|
||||
//duplicated as strtok modifies the input string
|
||||
char *stringptr = strdup(asmLine);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user