mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix #1019
This commit is contained in:
@@ -13,6 +13,7 @@ bool is_operand_value(Operand o) {
|
|||||||
case Addressing_Constant:
|
case Addressing_Constant:
|
||||||
case Addressing_MapIndex:
|
case Addressing_MapIndex:
|
||||||
case Addressing_OptionalOk:
|
case Addressing_OptionalOk:
|
||||||
|
case Addressing_OptionalOkPtr:
|
||||||
case Addressing_SoaVariable:
|
case Addressing_SoaVariable:
|
||||||
case Addressing_SwizzleValue:
|
case Addressing_SwizzleValue:
|
||||||
case Addressing_SwizzleVariable:
|
case Addressing_SwizzleVariable:
|
||||||
|
|||||||
@@ -8470,9 +8470,7 @@ lbValue lb_emit_transmute(lbProcedure *p, lbValue value, Type *t) {
|
|||||||
return lb_emit_load(p, d);
|
return lb_emit_load(p, d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
res.value = LLVMBuildBitCast(p->builder, value.value, lb_type(p->module, t), "");
|
res.value = LLVMBuildBitCast(p->builder, value.value, lb_type(p->module, t), "");
|
||||||
// GB_PANIC("lb_emit_transmute");
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user