Project

General

Profile

« Previous | Next » 

Revision d2000e0e

Added by eileencodes (Eileen Uchitelle) almost 2 years ago

[Prism] Implement defined? for PM_RATIONAL_NODE

Ruby code:

defined?(1.2r) 

Instructions:

"********* Ruby *************" == disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(59,16)> 0000 putobject "expression" ( 59)[Li] 0002 leave "********* PRISM *************" == disasm: #<ISeq:<compiled>@<compiled>:58 (58,0)-(58,16)> 0000 putobject "expression" ( 58)[Li] 0002 leave 

Related: ruby/prism#2188