Skip to content

Commit

Permalink
confusion about argument order cleared up.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Sep 19, 2013
1 parent bd80cda commit 1e8a295
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/vm/parrot/QAST/Operations.nqp
Expand Up @@ -2156,8 +2156,8 @@ QAST::Operations.add_core_op('bindattr_i', :inlinable(1), -> $qastcomp, $op {
$op[0],
$op[1],
$op[2],
$op[3],
QAST::IVal.new(:value($hint))
QAST::IVal.new(:value($hint)),
$op[3]
));
} else {
$qastcomp.as_post(QAST::Op.new(
Expand All @@ -2171,8 +2171,8 @@ QAST::Operations.add_core_op('bindattr_i', :inlinable(1), -> $qastcomp, $op {
});
QAST::Operations.add_core_pirop_mapping('bindattr_n', 'repr_bind_attr_num', '3PPsn', :inlinable(1));
QAST::Operations.add_core_pirop_mapping('bindattr_s', 'repr_bind_attr_str', '3PPss', :inlinable(1));
QAST::Operations.add_core_pirop_mapping('bindattr_s_nh', 'repr_bind_attr_int', '3PPss', :inlinable(1));
QAST::Operations.add_core_pirop_mapping('bindattr_s_h', 'repr_bind_attr_int', '3PPssi', :inlinable(1));
QAST::Operations.add_core_pirop_mapping('bindattr_s_nh', 'repr_bind_attr_str', '3PPss', :inlinable(1));
QAST::Operations.add_core_pirop_mapping('bindattr_s_h', 'repr_bind_attr_str', '3PPsis', :inlinable(1));
QAST::Operations.add_core_op('bindattr_s', :inlinable(1), -> $qastcomp, $op {
if +@($op) != 4 {
nqp::die('bindattr_s requires four operands');
Expand All @@ -2187,8 +2187,8 @@ QAST::Operations.add_core_op('bindattr_s', :inlinable(1), -> $qastcomp, $op {
$op[0],
$op[1],
$op[2],
$op[3],
QAST::IVal.new(:value($hint))
QAST::IVal.new(:value($hint)),
$op[3]
));
} else {
$qastcomp.as_post(QAST::Op.new(
Expand Down

0 comments on commit 1e8a295

Please sign in to comment.