Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timotheecour/ade3904ff0c98a8652623dd94031dd25 to your computer and use it in GitHub Desktop.
Save timotheecour/ade3904ff0c98a8652623dd94031dd25 to your computer and use it in GitHub Desktop.
code listing:
157 LdNullReg r1, 2 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 9)
158 LdImmInt r2, 0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 14)
L159:
159 LdImmInt r3, 1000 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 18)
160 LtInt r4, r2, r3 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 11)
161 FJmp r4, L205 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 3)
162 AsgnInt r1, r2, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 9)
163 LdNull r5, 4 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 12)
164 LdNull r6, 4 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 17)
165 LdNullReg r7, 2 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(356, 9)
166 LdImmInt r8, 0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(356, 14)
L167:
167 LdImmInt r3, 1 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(356, 21)
168 LtInt r4, r8, r3 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 11)
169 FJmp r4, L203 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 3)
170 AsgnInt r7, r8, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(356, 9)
171 LdNull r9, 5 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
172 LdNullReg r3, 2 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
173 LdNull r10, 6 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 33)
174 LdConst r11, "any" (10) # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 34)
175 WrObj r10, r0, r11 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 34)
176 LdConst r11, "bar" (11) # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 41)
177 WrObj r10, r1, r11 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 41)
178 WrArr r9, r3, r10 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
179 AddImmInt r3, r3, r129 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
180 LdArrAddr r10, r9, r7 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
181 LdImmInt r3, 0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
182 LdArrAddr r5, r10, r3 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
183 LdNull r9, 5 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
184 LdNullReg r3, 2 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
185 LdNull r10, 6 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 33)
186 LdConst r11, "any" (10) # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 34)
187 WrObj r10, r0, r11 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 34)
188 LdConst r11, "bar" (11) # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 41)
189 WrObj r10, r1, r11 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 41)
190 WrArr r9, r3, r10 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
191 AddImmInt r3, r3, r129 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(361, 32)
192 LdArrAddr r10, r9, r7 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
193 LdImmInt r3, 1 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
194 LdArrAddr r6, r10, r3 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(357, 14)
195 Conv r12, r1, string, int # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(362, 19)
198 Echo r12, r1, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(362, 19)
199 LdDeref r13, r5, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(363, 19)
200 Echo r13, r1, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(363, 19)
201 AddImmInt r8, r8, r129 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(122, 9)
202 JmpBack r0, L167 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 3)
L203:
203 AddImmInt r2, r2, r129 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(122, 9)
204 JmpBack r0, L159 # /Users/timothee/git_clone/nim/Nim_prs/lib/system/iterators_1.nim(120, 3)
L205:
205 Ret r0, r0, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 9)
206 Eof r0, r0, r0 # /Users/timothee/git_clone/nim/timn/tests/nim/all/t12092.nim(360, 9)
PC:157 opcLdNullReg ra: 1 rkNone rb: 2 rkNone rc: 128
PC:158 opcLdImmInt ra: 2 rkNone rb: 0 rkNone rc: 128
PC:159 opcLdImmInt ra: 3 rkNone rb: 1000 rc: 128
PC:160 opcLtInt ra: 4 rkNone rb: 2 rkInt rc: 3 rkInt
PC:161 opcFJmp ra: 4 rkInt rb: 44 rc: 128
PC:162 opcAsgnInt ra: 1 rkInt rb: 2 rkInt rc: 0 rkNone
PC:163 opcLdNull ra: 5 rkNone rb: 4 rkInt rc: 128
PC:164 opcLdNull ra: 6 rkNone rb: 4 rkInt rc: 128
PC:165 opcLdNullReg ra: 7 rkNone rb: 2 rkInt rc: 128
PC:166 opcLdImmInt ra: 8 rkNone rb: 0 rkNone rc: 128
PC:167 opcLdImmInt ra: 3 rkInt rb: 1 rkInt rc: 128
PC:168 opcLtInt ra: 4 rkInt rb: 8 rkInt rc: 3 rkInt
PC:169 opcFJmp ra: 4 rkInt rb: 34 rc: 128
PC:170 opcAsgnInt ra: 7 rkInt rb: 8 rkInt rc: 0 rkNone
PC:171 opcLdNull ra: 9 rkNone rb: 5 rkNode rc: 128
PC:172 opcLdNullReg ra: 3 rkInt rb: 2 rkInt rc: 128
PC:173 opcLdNull ra: 10 rkNone rb: 6 rkNode rc: 128
PC:174 opcLdConst ra: 11 rkNone rb: 10 rkNode rc: 128
PC:175 opcWrObj ra: 10 rkNode rb: 0 rkNone rc: 11 rkNode
PC:176 opcLdConst ra: 11 rkNode rb: 11 rkNode rc: 128
PC:177 opcWrObj ra: 10 rkNode rb: 1 rkInt rc: 11 rkNode
PC:178 opcWrArr ra: 9 rkNode rb: 3 rkInt rc: 10 rkNode
PC:179 opcAddImmInt ra: 3 rkInt rb: 3 rkInt rc: 129
PC:180 opcLdArrAddr ra: 10 rkNode rb: 9 rkNode rc: 7 rkInt
PC:181 opcLdImmInt ra: 3 rkInt rb: 0 rkNone rc: 128
PC:182 opcLdArrAddr ra: 5 rkNode rb: 10 rkNodeAddr rc: 3 rkInt
PC:183 opcLdNull ra: 9 rkNode rb: 5 rkNodeAddr rc: 128
PC:184 opcLdNullReg ra: 3 rkInt rb: 2 rkInt rc: 128
PC:185 opcLdNull ra: 10 rkNodeAddr rb: 6 rkNode rc: 128
PC:186 opcLdConst ra: 11 rkNode rb: 10 rkNode rc: 128
PC:187 opcWrObj ra: 10 rkNode rb: 0 rkNone rc: 11 rkNode
PC:188 opcLdConst ra: 11 rkNode rb: 11 rkNode rc: 128
PC:189 opcWrObj ra: 10 rkNode rb: 1 rkInt rc: 11 rkNode
PC:190 opcWrArr ra: 9 rkNode rb: 3 rkInt rc: 10 rkNode
PC:191 opcAddImmInt ra: 3 rkInt rb: 3 rkInt rc: 129
PC:192 opcLdArrAddr ra: 10 rkNode rb: 9 rkNode rc: 7 rkInt
PC:193 opcLdImmInt ra: 3 rkInt rb: 1 rkInt rc: 128
PC:194 opcLdArrAddr ra: 6 rkNode rb: 10 rkNodeAddr rc: 3 rkInt
PC:195 opcConv ra: 12 rkNone rb: 1 rkInt rc: 0 rkNone
PC:198 opcEcho ra: 12 rkNode rb: 1 rkInt rc: 0 rkNone
0
PC:199 opcLdDeref ra: 13 rkNone rb: 5 rkNodeAddr rc: 0 rkNone
[GCASSERT] incRef: interiorPtrTraceback (most recent call last)
/Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(125) nim
/Users/timothee/git_clone/nim/Nim_prs/compiler/nim.nim(84) handleCmdLine
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(242) mainCommand
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(213) compileToBackend
/Users/timothee/git_clone/nim/Nim_prs/compiler/main.nim(90) commandCompileToC
/Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(178) compileProject
/Users/timothee/git_clone/nim/Nim_prs/compiler/modules.nim(97) compileModule
/Users/timothee/git_clone/nim/Nim_prs/compiler/passes.nim(180) processModule
/Users/timothee/git_clone/nim/Nim_prs/compiler/passes.nim(73) processTopLevelStmt
/Users/timothee/git_clone/nim/Nim_prs/compiler/sem.nim(626) myProcess
/Users/timothee/git_clone/nim/Nim_prs/compiler/sem.nim(594) semStmtAndGenerateGenerics
/Users/timothee/git_clone/nim/Nim_prs/compiler/semstmts.nim(2274) semStmt
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(1042) semExprNoType
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(2892) semExpr
/Users/timothee/git_clone/nim/Nim_prs/compiler/semstmts.nim(2216) semStmtList
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(2819) semExpr
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(2340) semWhen
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(2892) semExpr
/Users/timothee/git_clone/nim/Nim_prs/compiler/semstmts.nim(2216) semStmtList
/Users/timothee/git_clone/nim/Nim_prs/compiler/semexprs.nim(2944) semExpr
/Users/timothee/git_clone/nim/Nim_prs/compiler/semstmts.nim(2172) semStaticStmt
/Users/timothee/git_clone/nim/Nim_prs/compiler/vm.nim(2218) evalStaticStmt
/Users/timothee/git_clone/nim/Nim_prs/compiler/vm.nim(2207) evalConstExprAux
/Users/timothee/git_clone/nim/Nim_prs/compiler/vm.nim(786) rawExecute
/Users/timothee/git_clone/nim/Nim_prs/lib/system/gc.nim(286) asgnRef
/Users/timothee/git_clone/nim/Nim_prs/lib/system/gc.nim(161) incRef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment