Created
April 19, 2018 17:03
-
-
Save timo/1ea6c284dab832a7dab9e7f3ac6905ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ case MVM_OP_if_s: | |
+ case MVM_OP_unless_s: | |
+ | mov TMP1, WORK[val]; | |
+ | test TMP1, TMP1; | |
+ /* Switched around compared to below */ | |
+ if (ins->info->opcode == MVM_OP_unless_s) | |
+ | jz =>(name); | |
+ else | |
+ | jz =>2; | |
+ | mov ARG1, TC; | |
+ | mov ARG2, WORK[val]; | |
+ | callp &MVM_string_graphs; | |
+ | test RV, RV; | |
+ if (ins->info->opcode == MVM_OP_unless_s) | |
+ | jz =>(name); | |
+ else | |
+ | jnz =>(name); | |
+ |2: | |
+ break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment