[project @ 2000-11-14 10:56:08 by simonmar]
[ghc-hetmet.git] / ghc / rts / Bytecodes.h
index f033a21..37c8bce 100644 (file)
@@ -1,6 +1,6 @@
 
 /* -----------------------------------------------------------------------------
- * $Id: Bytecodes.h,v 1.15 2000/04/11 20:44:19 panne Exp $
+ * $Id: Bytecodes.h,v 1.17 2000/10/09 11:20:16 daan Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
     Ins(i_RETADDR),           \
     Ins(i_RETADDR_big),       \
     Ins(i_VOID),              \
+                              \
+    Ins(i_ALLOC_ROW),         \
+    Ins(i_ALLOC_ROW_big),     \
+    Ins(i_PACK_ROW),          \
+    Ins(i_PACK_ROW_big),      \
+    Ins(i_UNPACK_ROW),        \
+    Ins(i_CONST_ROW_TRIV),    \
+                              \
+    Ins(i_PACK_INJ),          \
+    Ins(i_PACK_INJ_VAR),      \
+    Ins(i_PACK_INJ_VAR_big),  \
+    Ins(i_PACK_INJ_CONST_8),  \
+    Ins(i_PACK_INJ_REL_8),    \
+    Ins(i_TEST_INJ),          \
+    Ins(i_TEST_INJ_VAR),      \
+    Ins(i_TEST_INJ_VAR_big),  \
+    Ins(i_TEST_INJ_CONST_8),  \
+    Ins(i_TEST_INJ_REL_8),    \
+    Ins(i_UNPACK_INJ),        \
+    Ins(i_CONST_WORD_8),      \
+    Ins(i_ADD_WORD_VAR),      \
+    Ins(i_ADD_WORD_VAR_big),  \
+    Ins(i_ADD_WORD_VAR_8),    \
+                              \
     Ins(i_VAR_INT),           \
     Ins(i_VAR_INT_big),       \
     Ins(i_CONST_INT),         \
@@ -62,6 +86,7 @@
     Ins(i_VAR_WORD),          \
     Ins(i_VAR_WORD_big),      \
     Ins(i_CONST_WORD),        \
+    Ins(i_CONST_WORD_big),    \
     Ins(i_PACK_WORD),         \
     Ins(i_UNPACK_WORD),       \
     Ins(i_VAR_ADDR),          \
@@ -326,6 +351,16 @@ typedef enum
 
     , i_raise       
 
+#ifdef XMLAMBDA
+    /* row primitives. */
+    , i_rowInsertAt
+    , i_rowChainInsert
+    , i_rowChainBuild
+    , i_rowRemoveAt
+    , i_rowChainRemove
+    , i_rowChainSelect
+#endif
+
     /* Ref operations */
     , i_newRef
     , i_writeRef
@@ -437,6 +472,9 @@ typedef enum
 
 
     /* CCall! */
+#ifdef XMLAMBDA
+    , i_ccall
+#endif
     , i_ccall_ccall_Id
     , i_ccall_ccall_IO
     , i_ccall_stdcall_Id
@@ -444,7 +482,7 @@ typedef enum
 
     /* If you add a new primop to this table, check you don't
      * overflow the 256 limit.  That is MAX_Primop2 <= 255.
-     * Current value (30/10/98) = 0x42
+     * Current value (1 oct 2000) = 0x48
      */
     , MAX_Primop2 = i_ccall_stdcall_IO
 } Primop2;