1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-25 05:26:40 -05:00

glasm: Initial implementation of phi nodes on GLASM

This commit is contained in:
ReinUsesLisp
2021-05-14 04:48:46 -03:00
committed by ameerj
parent 0f88fb5d72
commit bf5e48ffe4
12 changed files with 117 additions and 25 deletions

View File

@@ -468,7 +468,11 @@ Id EmitIdentity(EmitContext& ctx, const IR::Value& value) {
return id;
}
void EmitBranchConditionRef(EmitContext&) {}
void EmitDummyReference(EmitContext&) {}
void EmitPhiMove(EmitContext&) {
throw LogicError("Unreachable instruction");
}
void EmitGetZeroFromOp(EmitContext&) {
throw LogicError("Unreachable instruction");