Changeset 16439 for src/Pugs/Parser
- Timestamp:
- 05/18/07 22:39:20 (18 months ago)
- Files:
-
- 1 modified
-
src/Pugs/Parser/Program.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Parser/Program.hs
r16417 r16439 110 110 , s_closureTraits = [id] 111 111 , s_freeVars = Set.empty 112 , s_knownVars = Map. empty112 , s_knownVars = Map.map (const topMPad) (padEntries (envLexical env)) 113 113 , s_outerVars = Map.empty 114 114 , s_protoPad = emptyPad 115 115 } 116 117 -- ^ A fake 'top' MPad for s_knownVars above to refer to things outside the eval scope. 118 {-# NOINLINE topMPad #-} 119 topMPad :: MPad 120 topMPad = unsafePerformIO $ do 121 tvar <- newTVarIO emptyPad 122 return $ MkMPad (addressOf tvar) tvar 116 123 117 124 -- XXX - Pending clarification about those 3 -- are they routine-implicit or block-implicit?
