summary refs log tree commit diff stats
path: root/compiler/vmdef.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r--compiler/vmdef.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim
index f530ceeb2..2f6cbcb85 100644
--- a/compiler/vmdef.nim
+++ b/compiler/vmdef.nim
@@ -33,11 +33,11 @@ type
     opcAsgnInt,
     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,
+    opcCastIntToFloat32,    # int and float must be of the same byte size
+    opcCastIntToFloat64,    # int and float must be of the same byte size
+    opcCastFloatToInt32,    # int and float must be of the same byte size
+    opcCastFloatToInt64,    # int and float must be of the same byte size
     opcFastAsgnComplex,
     opcNodeToReg,