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