mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Remove erroneous byte swap
This commit is contained in:
@@ -1777,9 +1777,6 @@ lbValue lb_emit_conv(lbProcedure *p, lbValue value, Type *t) {
|
|||||||
lbValue res = {};
|
lbValue res = {};
|
||||||
res = lb_emit_conv(p, value, platform_src_type);
|
res = lb_emit_conv(p, value, platform_src_type);
|
||||||
res = lb_emit_conv(p, res, platform_dst_type);
|
res = lb_emit_conv(p, res, platform_dst_type);
|
||||||
if (is_type_different_to_arch_endianness(dst)) {
|
|
||||||
res = lb_emit_byte_swap(p, res, platform_dst_type);
|
|
||||||
}
|
|
||||||
return lb_emit_conv(p, res, t);
|
return lb_emit_conv(p, res, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user