Skip to content

Commit b4bc86d

Browse files
committed
Map native attr ref-taking ops to MoarVM ops.
1 parent 4d77554 commit b4bc86d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/vm/moar/QAST/QASTOperationsMAST.nqp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,6 +2440,10 @@ add_getattr_op('getattr_i', 'getattr_i', 'getattrs_i', $MVM_reg_int64);
24402440
add_getattr_op('getattr_n', 'getattr_n', 'getattrs_n', $MVM_reg_num64);
24412441
add_getattr_op('getattr_s', 'getattr_s', 'getattrs_s', $MVM_reg_str);
24422442

2443+
add_getattr_op('getattrref_i', 'getattrref_i', 'getattrsref_i', $MVM_reg_obj);
2444+
add_getattr_op('getattrref_n', 'getattrref_n', 'getattrsref_n', $MVM_reg_obj);
2445+
add_getattr_op('getattrref_s', 'getattrref_s', 'getattrsref_s', $MVM_reg_obj);
2446+
24432447
QAST::MASTOperations.add_core_moarop_mapping('hintfor', 'hintfor');
24442448
QAST::MASTOperations.add_core_moarop_mapping('unbox_i', 'unbox_i', :decont(0));
24452449
QAST::MASTOperations.add_core_moarop_mapping('unbox_n', 'unbox_n', :decont(0));

0 commit comments

Comments
 (0)