Skip to content

Instantly share code, notes, and snippets.

@wanabe
Created August 2, 2020 13:31
Show Gist options
  • Select an option

  • Save wanabe/5e09570826cb60c91f64ba1ab76fe786 to your computer and use it in GitHub Desktop.

Select an option

Save wanabe/5e09570826cb60c91f64ba1ab76fe786 to your computer and use it in GitHub Desktop.
---------------------
[compile step 4.1 (iseq_set_sequence)]
-- raw disasm--------
trace: 8
trace: 1
0000 putobject false ( 1)
0002 setlocal_WC_0 4 ( 1)
0004 getlocal_WC_0 4 ( 1)
0006 branchunless <L002> ( 1)
0008 putnil ( 1)
0009 jump <L009> ( 1)
0011 jump <L002> ( 1)
<L006> [sp: 1]
0013 putnil ( 1)
<L007> [sp: 2]
0014 pop ( 1)
0015 jump <L002> ( 1)
<L003> [sp: 1]
<L008> [sp: 1]
adjust: [label: -1]
0017 putnil ( 1)
trace: 10
0018 leave ( 1)
adjust: [label: 8]
<L002> [sp: 0]
0019 getlocal_WC_0 4 ( 1)
0021 branchunless <L003> ( 1)
adjust: [label: 6]
0023 putnil ( 1)
<L004> [sp: 2]
0024 nop ( 0)
<L009> [sp: 1]
0025 dup ( 1)
0026 setlocal_WC_0 3 ( 1)
trace: 10
0028 leave ( 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment