Changeset 7851 for src/Pugs/CodeGen
- Timestamp:
- 11/05/05 15:06:37 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/CodeGen/PIR.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/CodeGen/PIR.hs
r7579 r7851 89 89 [begL, sndL, retL, endL] <- genLabel ["thunkBegin", "thunkAgain", "thunkReturn", "thunkEnd"] 90 90 this <- genPMC "block" 91 tellIns $ "newsub" .- [reg this, bare ".Continuation", bare begL] 91 tellIns $ InsNew (reg this) Continuation 92 tellIns $ "set_addr" .- [reg this, bare begL] 92 93 tellIns $ "goto" .- [bare endL] 93 94 tellLabel begL … … 109 110 [begL, endL] <- genLabel ["blockBegin", "blockEnd"] 110 111 this <- genPMC "block" 111 tellIns $ "newsub" .- [reg this, bare ".Closure", bare begL] 112 tellIns $ InsNew (reg this) Closure 113 tellIns $ "set_addr" .- [reg this, bare begL] 112 114 tellIns $ "goto" .- [bare endL] 113 115 tellLabel begL
