Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2001-09-20 12:14:31 by simonpj] · ab061892
    Simon Peyton Jones authored
    ------------------------------------------------
    	Make code generation ignore isLocalId/isGlobalId
    	------------------------------------------------
    
    	MERGE WITH STABLE BRANCH
    
    CorePrep may introduce some new, top-level LocalIds.  This
    breaks an invariant that the core2stg/code generator passes
    occasionally used, namely that LocalIds are not top-level bound.
    
    This commit fixes that problem.
    
    It also removes an assert from CodeGen.cgTopRhs that asks
    for the CgInfo of such new LocalIds -- but they may (legitimately)
    not have any, so it was a bad ASSERT.  [Showed up in George
    Russel's system.]
    ab061892