mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Fixing addze.
This commit is contained in:
parent
56bd2eee2e
commit
398b37dc5f
|
|
@ -314,7 +314,7 @@ bool ConstantPropagationPass::Run(HIRBuilder* builder) {
|
|||
if (use->instr->opcode == &OPCODE_DID_CARRY_info) {
|
||||
// Replace carry value.
|
||||
use->instr->Replace(&OPCODE_ASSIGN_info, 0);
|
||||
use->instr->set_src1(ca);
|
||||
use->instr->set_src1(builder->LoadZero(INT8_TYPE));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue