Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Break the build horribly. Use current CallContext as "signature"

  • Loading branch information...
commit b38b9c23dc7808eaccae0ac2cc9cf483b68fd41e 1 parent eeaf8b3
@bacek bacek authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/ops/core.ops
  2. +1 −1  src/ops/core_ops.c
View
2  src/ops/core.ops
@@ -479,7 +479,7 @@ op set_args(inconst PMC) :flow {
opcode_t * const raw_args = CUR_OPCODE;
PMC * const signature = $1;
PMC * const call_sig = Parrot_pcc_build_sig_object_from_op(interp,
- PMCNULL, signature, raw_args);
+ CURRENT_CONTEXT(interp), signature, raw_args);
INTVAL argc;
GETATTR_FixedIntegerArray_size(interp, signature, argc);
Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), call_sig);
View
2  src/ops/core_ops.c
@@ -13767,7 +13767,7 @@ opcode_t *
Parrot_set_args_pc(opcode_t *cur_opcode, PARROT_INTERP) {
opcode_t * const raw_args = CUR_OPCODE;
PMC * const signature = PCONST(1);
- PMC * const call_sig = Parrot_pcc_build_sig_object_from_op(interp, PMCNULL, signature, raw_args);
+ PMC * const call_sig = Parrot_pcc_build_sig_object_from_op(interp, CURRENT_CONTEXT(interp), signature, raw_args);
INTVAL argc;
GETATTR_FixedIntegerArray_size(interp, signature, argc);
Please sign in to comment.
Something went wrong with that request. Please try again.