Andrew Kelley 077b8d3def stage2: introduce new ZIR instruction: arg
* AstGen: LocalVal and LocalPtr use string table indexes for their
   names. This is more efficient because local variable declarations do
   need to include the variable names so that semantic analysis can emit
   a compile error if a declaration is shadowed. So we take advantage of
   this fact by comparing string table indexes when resolving names.

 * The arg ZIR instructions are needed for the above reasoning, as well
   as to emit equivalent AIR instructions for debug info.
   Now that we have these arg instructions, get rid of the special
   `Zir.Inst.Ref` range for parameters. ZIR instructions now refer
   to the arg instructions for parameters.

 * Move identAsString and strLitAsString from Module.GenZir to AstGen
   where they belong.
2021-04-30 21:43:18 -07:00
..
2021-04-24 17:44:07 -07:00
2021-04-19 18:44:59 -07:00
2021-02-10 11:50:55 -08:00
2021-04-15 19:06:39 -07:00
2021-04-24 17:44:07 -07:00
2020-09-21 18:38:55 -07:00
2018-10-27 11:35:01 -04:00
2020-12-16 12:18:14 +01:00
2020-12-16 12:18:14 +01:00