diff options
| author | eileencodes <eileencodes@gmail.com> | 2024-01-17 10:18:02 -0500 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2024-01-17 13:08:49 -0800 |
| commit | e217c5772bd1824606c029d093e39f43acb15179 (patch) | |
| tree | 7af9553a72c2d256715edf6f798282d71ca6b3db /include/ruby/assert.h | |
| parent | 54b8330e45b718fc33cd391d6f0ed6cb67ee73c3 (diff) | |
[Prism] Implement defined? for PM_CONSTANT_PATH_WRITE_NODE
Ruby code:
```ruby
defined?(Prism::CPWN = 1)
```
Instructions:
```
"********* Ruby *************"
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,58)>
0000 putobject "assignment" ( 59)[Li]
0002 leave
"********* PRISM *************"
== disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,58)>
0000 putobject "assignment" ( 58)[Li]
0002 leave
```
Related: ruby/prism#2188
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions
