| 2923 | } |
| 2924 | |
| 2925 | void JitX86CodeGen::JumpIfCondition(JitConditional condition, U32 address) { |
| 2926 | Label label; |
| 2927 | |
| 2928 | bool negative = false; |
| 2929 | RegPtr reg; |
| 2930 | |
| 2931 | preIfCondition(condition, negative, reg); |
| 2932 | |
| 2933 | if (!opLabels.get(address, label)) { |
| 2934 | label = compiler.new_label(); |
| 2935 | opLabels.set(address, label); |
| 2936 | } |
| 2937 | compiler.test(R32(reg), R32(reg)); |
| 2938 | if (negative) { |
| 2939 | compiler.jz(label); |
| 2940 | } else { |
| 2941 | compiler.jnz(label); |
| 2942 | } |
| 2943 | } |
| 2944 | |
| 2945 | void JitX86CodeGen::IfDF() { |
| 2946 | Label label = compiler.new_label(); |