Skip to content

Commit ef8b5d3

Browse files
committed
Add nqp::bindattr_[i|n|s] and nqp::getattr_[i|n|s]. jnthn++ / moritz++
1 parent bb56d12 commit ef8b5d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/PAST/NQP.pir

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,13 @@ entry to produce the node to be returned.
342342

343343
# object opcodes
344344
maphash['bindattr'] = 'setattribute__3PPsP'
345+
maphash['bindattr_i'] = 'repr_bind_attr_int__PPsi'
346+
maphash['bindattr_n'] = 'repr_bind_attr_num__PPsn'
347+
maphash['bindattr_s'] = 'repr_bind_attr_str__PPss'
345348
maphash['getattr'] = 'getattribute__PPPs'
349+
maphash['getattr_i'] = 'repr_get_attr_int__IPPs'
350+
maphash['getattr_n'] = 'repr_get_attr_num__NPPs'
351+
maphash['getattr_s'] = 'repr_get_attr_str__SPPs'
346352
maphash['create'] = 'repr_instance_of__PP'
347353
maphash['clone'] = 'clone__PP'
348354
maphash['isconcrete'] = 'repr_defined__IP'

0 commit comments

Comments
 (0)