Changeset 4876 for src/Pugs/Compile/PIR.hs
- Timestamp:
- 06/20/05 19:23:02 (4 years ago)
- svk:copy_cache_prev:
- 6641
- Files:
-
- 1 modified
-
src/Pugs/Compile/PIR.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Compile/PIR.hs
r4875 r4876 335 335 compile (Cxt cxt rest) = enter cxt $ compile rest 336 336 compile (Var name) = return . PExp $ PVar name 337 compile exp@(Val (VCode _)) = compile (Syn "sub" [exp]) 337 338 compile (Val val) = fmap PLit (compile val) 338 339 compile Noop = compile (Val undef) … … 436 437 trans (PApp _ exp@(PBlock _) []) = do 437 438 blockC <- trans exp 438 [appC] <- genLabel ["invokeBlock"] 439 tell $ map StmtIns $ callBlock appC blockC 439 tellIns $ [reg tempPMC] <-& blockC $ [] 440 440 return tempPMC 441 441 trans (PApp (TCxtLValue _) (PExp (PVar "&postcircumfix:[]")) [(PExp lhs), rhs]) = do
