blob: c7fe7ad52fcb36712c822f7850b942a8eb80c664 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
definition module Snug.Compile.ABI
from MIPS.MIPS32 import :: Label, :: Register(GP,S,T)
from Snug.Compile import :: Namespace
from Snug.Syntax import :: ConstructorIdent, :: SymbolIdent
:: EntryPoint
= NodeEntry
BackPrintPtr :== S 0
FrontPrintPtr :== S 1
BackEvalPtr :== S 2
FrontEvalPtr :== S 3
TextEndDataStart :== S 7
HeapPtr :== GP
TempImm :== T 0
constructorLabel :: !Namespace !ConstructorIdent -> Label
functionLabel :: !Namespace !EntryPoint !SymbolIdent -> Label
closureLabel :: !Namespace !SymbolIdent !Int -> Label
|