Comment about TagMap type.
NumberIdents (in TransformGrin), and use it when doing HPT (in TransformGrin) and renumbering (in TopLevelPhases). Two new transformations: - RenumberIdents: a simple renumbering of all variables. Used in grModMergeRenumber, which is now used when merging all Grin modules. - BuildMainBinding: adds the 'hsnMainFullProg' function to the program, which was originally done during BuildAppBindings (but removed in r2125). Applied by the GrinCompilerDriver, i.e. in the whole-program phase.
Fix ModOffsets bug and introduce some runtime checks for variants < 100. Improve debugging. Disable numbering and drop VarMap in GrinCompilerDriver.
- Use Equation etc instead of EquationG etc. - Use CommonCrossModule. - Drop ParamMap (no longer used) and VarMap (stored by NumberIdents). - Do NumberIdents as part of heapPointsToAnalysis (which has now become a transformation), because we need to pass information to it and get information from it to do the numbering right. Remove ParamMap and VarMap from SolveEqs; it now assumes, like it did before, that all HsNames are numbers, and that parameters follow function names.
…ends, which was done in revision 2114; variables are now Int again.
…ing of HI file. Do not store final HPT result in HI file.
- Do not add hsnMainFullProg function in the BuildAppBindings transformation. - Remove function calls triggering bugs from the UHC.Base library. - Add verbose and dump-grin-stages flag to EHC invocation when building libraries. - Do less specializing to reduce library compilation time. - Make some errors non-critical (trace instead of error) to cheat our way to actually being able to partially analyse the program.
…, and use this instead of getNr. This is neccessary because NumberIdents is not done before partial HPT analysis, so getNr fails. Also, don't traceShow the result of the analysis anymore.
…sh compile as well as for a recompile. Drop support for early module merging (the old one-big-core generation).
… with variant 20, instead of 99.
…nging to a function, instead of assuming they start at funnr+2.
…ver. NumberIdents numbers variables the same as in this HptMap.
…ll some loose ends. Also, the Main module's partial HPT result needs to be converted into a proper HptMap, and this needs to be consistent with NumberIdents.
Change an import declaration in InlineEA accordingly.
specialized functions, instead of appending ad hoc suffixes. Also remove a useless AG rule.