| author | |
| committer | |
| log | e2174428e81fc5d84c54ae4833002d943adab38a |
| tree | b22cb09b19a0ab58a62d50f901fcde86bd63808b |
| parent | 8299ddfe4ff506b45cfd58b2a6eb048d8be05b9e |
1 files changed, 1 insertions(+), 0 deletions(-)
src/arch/wasm/CodeGen.zig+1| ... | ... | @@ -3320,6 +3320,7 @@ fn valueAsI32(func: *const CodeGen, val: Value, ty: Type) i32 { |
| 3320 | 3320 | .enum_tag => |enum_tag| intIndexAsI32(&mod.intern_pool, enum_tag.int, mod), |
| 3321 | 3321 | .int => |int| intStorageAsI32(int.storage, mod), |
| 3322 | 3322 | .ptr => |ptr| intIndexAsI32(&mod.intern_pool, ptr.addr.int, mod), |
| 3323 | .err => |err| @bitCast(i32, mod.global_error_set.get(mod.intern_pool.stringToSlice(err.name)).?), | |
| 3323 | 3324 | else => unreachable, |
| 3324 | 3325 | }, |
| 3325 | 3326 | } |