Mercurial > hg-old > index.cgi
comparison lwasm/pass1.c @ 360:7d91ab7ac7d6
Indexed stage 2; set line structure to track pragmas in effect for that line
author | lost@starbug |
---|---|
date | Thu, 01 Apr 2010 18:39:40 -0600 |
parents | 60568b123281 |
children | d96c30e60ddf |
comparison
equal
deleted
inserted
replaced
359:f50a54d0293a | 360:7d91ab7ac7d6 |
---|---|
83 cl -> prev = as -> line_tail; | 83 cl -> prev = as -> line_tail; |
84 cl -> insn = -1; | 84 cl -> insn = -1; |
85 cl -> as = as; | 85 cl -> as = as; |
86 cl -> inmod = as -> inmod; | 86 cl -> inmod = as -> inmod; |
87 cl -> csect = as -> csect; | 87 cl -> csect = as -> csect; |
88 cl -> pragmas = as -> pragmas; | |
88 if (!as -> line_tail) | 89 if (!as -> line_tail) |
89 { | 90 { |
90 as -> line_head = cl; | 91 as -> line_head = cl; |
91 cl -> addr = lw_expr_build(lw_expr_type_int, 0); | 92 cl -> addr = lw_expr_build(lw_expr_type_int, 0); |
92 } | 93 } |