summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyvm.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2023-12-05 12:07:26 -0500
committerJemma Issroff <jemmaissroff@gmail.com>2023-12-06 09:46:19 -0500
commit41b117e50c97ab8117ff538d6cd8ff2ebed57c71 (patch)
treeac87ad53b41ee0a2458b0352f724581aa549e827 /test/ruby/test_rubyvm.rb
parentb04255deff8da978a967447a478be44d9c66d74e (diff)
[PRISM] Implement `PM_SOURCE_ENCODING_NODE` for `defined?
Ruby code: ```ruby defined?(__ENCODING__) ``` Instructions: ``` "********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:0 (0,0)-(0,22)> 0000 putobject "expression" 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:0 (0,0)-(0,22)> 0000 putobject "expression" 0002 leave ```
Diffstat (limited to 'test/ruby/test_rubyvm.rb')
0 files changed, 0 insertions, 0 deletions