-
-
Save FROGGS/c98f455874e50d39ff75 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/vm/moar/QAST/QASTOperationsMAST.nqp b/src/vm/moar/QAST/QASTOperationsMAST.nqp | |
index 675ef19..0642094 100644 | |
--- a/src/vm/moar/QAST/QASTOperationsMAST.nqp | |
+++ b/src/vm/moar/QAST/QASTOperationsMAST.nqp | |
@@ -2548,9 +2548,9 @@ sub add_native_assign_op($op_name, $kind) { | |
} | |
}) | |
} | |
-add_native_assign_op('assign_i', $MVM_reg_int64); | |
-add_native_assign_op('assign_n', $MVM_reg_num64); | |
-add_native_assign_op('assign_s', $MVM_reg_str); | |
+QAST::MASTOperations.add_core_moarop_mapping('assign_i', 'assign_i', 1); | |
+QAST::MASTOperations.add_core_moarop_mapping('assign_n', 'assign_n', 1); | |
+QAST::MASTOperations.add_core_moarop_mapping('assign_s', 'assign_s', 1); | |
QAST::MASTOperations.add_core_moarop_mapping('assignunchecked', 'assignunchecked', 0, :decont(1)); | |
QAST::MASTOperations.add_core_moarop_mapping('setparameterizer', 'setparameterizer', 0, :decont(0, 1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment