Skip to content

Commit

Permalink
Add nqp::bindattr_[i|n|s] and nqp::getattr_[i|n|s]. jnthn++ / moritz++
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 1, 2011
1 parent bb56d12 commit ef8b5d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/PAST/NQP.pir
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,13 @@ entry to produce the node to be returned.

# object opcodes
maphash['bindattr'] = 'setattribute__3PPsP'
maphash['bindattr_i'] = 'repr_bind_attr_int__PPsi'
maphash['bindattr_n'] = 'repr_bind_attr_num__PPsn'
maphash['bindattr_s'] = 'repr_bind_attr_str__PPss'
maphash['getattr'] = 'getattribute__PPPs'
maphash['getattr_i'] = 'repr_get_attr_int__IPPs'
maphash['getattr_n'] = 'repr_get_attr_num__NPPs'
maphash['getattr_s'] = 'repr_get_attr_str__SPPs'
maphash['create'] = 'repr_instance_of__PP'
maphash['clone'] = 'clone__PP'
maphash['isconcrete'] = 'repr_defined__IP'
Expand Down

0 comments on commit ef8b5d3

Please sign in to comment.