Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

disasm: Save PCC arrays in PCC ops

Forgot to add them to the Op before using them to parse the
other arguments.
  • Loading branch information...
commit 91b89423df530c588702a5227a1f1819a4242579 1 parent b0552dd
@Benabik Benabik authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/disasm.winxed
View
5 src/disasm.winxed
@@ -301,7 +301,10 @@ function read_packfile(var packfile) {
case 'get_results':
case 'get_params':
case 'set_returns':
- var arg_types = ret.pmcs[bytecode[++pc]];
+ :PACT.Packfile.Constant.Reference ref(packfile,
+ PARROT_ARG_PMC, bytecode[++pc]);
+ push(pop.args, ref);
+ var arg_types = ret.pmcs[int(ref.value)];
argc = elements(arg_types);
for (i = 0; i < argc; ++i) {
++pc;
Please sign in to comment.
Something went wrong with that request. Please try again.