Add int float casts to vm

This commit is contained in:
Andrii Riabushenko 2018-10-24 11:24:23 +01:00
commit a7c9533a73
3 changed files with 40 additions and 3 deletions

View file

@ -35,6 +35,10 @@ type
opcAsgnStr,
opcAsgnFloat,
opcAsgnRef,
opcAsgnIntFromFloat32, # int and float must be of the same byte size
opcAsgnIntFromFloat64, # int and float must be of the same byte size
opcAsgnFloat32FromInt, # int and float must be of the same byte size
opcAsgnFloat64FromInt, # int and float must be of the same byte size
opcAsgnComplex,
opcNodeToReg,