| 3252 | } |
| 3253 | |
| 3254 | void JitArmV8CodeGen::JumpIfCondition(JitConditional condition, U32 address) { |
| 3255 | Label label; |
| 3256 | |
| 3257 | bool negative = false; |
| 3258 | RegPtr reg; |
| 3259 | |
| 3260 | preIfCondition(condition, negative, reg); |
| 3261 | |
| 3262 | if (!opLabels.get(address, label)) { |
| 3263 | label = compiler.new_label(); |
| 3264 | opLabels.set(address, label); |
| 3265 | } |
| 3266 | if (negative) { |
| 3267 | compiler.cbz(R32(reg), label); |
| 3268 | } else { |
| 3269 | compiler.cbnz(R32(reg), label); |
| 3270 | } |
| 3271 | } |
| 3272 | |
| 3273 | U32 JitArmV8CodeGen::MarkJumpLocation() { |
| 3274 | Label label = compiler.new_label(); |