diff options
Diffstat (limited to 'src/runtime/haskell/PGF/Binary.hs')
| -rw-r--r-- | src/runtime/haskell/PGF/Binary.hs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/runtime/haskell/PGF/Binary.hs b/src/runtime/haskell/PGF/Binary.hs index b2bfda069..b5c301e3b 100644 --- a/src/runtime/haskell/PGF/Binary.hs +++ b/src/runtime/haskell/PGF/Binary.hs @@ -149,9 +149,11 @@ instance Binary Instr where put (PUT_FLT d) = putWord8 10 >> put d
put (SET_VALUE n) = putWord8 11 >> put n
put (SET_VARIABLE n) = putWord8 12 >> put n
- put (TAIL_CALL id) = putWord8 13 >> put id
- put (FAIL ) = putWord8 14
- put (RET n) = putWord8 15 >> put n
+ put (PUSH_VALUE n)= putWord8 13 >> put n
+ put (PUSH_VARIABLE n)= putWord8 14 >> put n
+ put (TAIL_CALL id) = putWord8 15 >> put id
+ put (FAIL ) = putWord8 16
+ put (RET n) = putWord8 17 >> put n
instance Binary Type where
|
