mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-26 05:41:07 +00:00
Revert "- fixed incorrect code generation for '||' operator (at least I hope it's fixed now.)"
This reverts commit 2a89a9f1d8
.
This commit is contained in:
parent
ecef5647d4
commit
7b42093dc9
1 changed files with 1 additions and 1 deletions
|
@ -1697,7 +1697,7 @@ ExpEmit FxBinaryLogical::Emit(VMFunctionBuilder *build)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert(Operator == TK_OrOr);
|
assert(Operator == TK_OrOr);
|
||||||
build->Emit(OP_EQ_K, 1, op1.RegNum, zero);
|
build->Emit(OP_EQ_K, 0, op1.RegNum, zero);
|
||||||
// If op1 is not 0, skip evaluation of op2.
|
// If op1 is not 0, skip evaluation of op2.
|
||||||
size_t patchspot = build->Emit(OP_JMP, 0, 0, 0);
|
size_t patchspot = build->Emit(OP_JMP, 0, 0, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue