-
I read this in
I think it should be
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not an error. All integer variables are always 64-bit integers. Therefore you can not use smaller integer types in May be such type system is not obvious but it is significantly simplifies the implementation without big performance impact. The impact is due to additional 32-bit to 64-bit extensions but many such extensions will be removed by the generator optimizations. |
Beta Was this translation helpful? Give feedback.
This is not an error. All integer variables are always 64-bit integers. Therefore you can not use smaller integer types in
local
.Argument and return types are for function interface. Basically value of an argument described as i32 will be signed extended and stored in local 64-bit variable
N
.May be such type system is not obvious but it is significantly simplifies the implementation without big performance impact. The impact is due to additional 32-bit to 64-bit extensions but many such extensions will be removed by the generator optimizations.