Commit 5c3eeb8
committed
remove no-longer-needed pass dependent code from SymbolTable
SymbolTable used the pass number to handle some special cases in pass 1
of assembling, by returning dummy values. Since the first pass no longer
creates actual instructions, the SymbolTable no longer needs to do this
and no longer needs to be aware of the pass the assembler is in.1 parent 219f939 commit 5c3eeb8
2 files changed
+17
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 19 | | |
24 | 20 | | |
25 | 21 | | |
| |||
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 39 | + | |
50 | 40 | | |
51 | 41 | | |
52 | 42 | | |
| |||
60 | 50 | | |
61 | 51 | | |
62 | 52 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 53 | + | |
70 | 54 | | |
71 | 55 | | |
72 | 56 | | |
| |||
109 | 93 | | |
110 | 94 | | |
111 | 95 | | |
112 | | - | |
113 | 96 | | |
114 | 97 | | |
115 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
207 | 212 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
217 | 221 | | |
218 | 222 | | |
219 | 223 | | |
220 | | - | |
221 | 224 | | |
222 | 225 | | |
223 | 226 | | |
| |||
0 commit comments