#1700: OpLib caching doesn't survive after initializing of parrot trace.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: bug | Status: new
Priority: major | Milestone:
Component: core | Version: trunk
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by plobsing):
Replying to [comment:2 jkeenan]:
> Hmm. I got:
{{{
$ ./parrot t.pir
OpLib must be initialized with an oplib name
current instr.: 'main' pc 0 (t.pir:6)
}}}
> Am I doing something wrong? Or is this not really fixed?
>
> kid51
Sorry, I forgot to mention that with the changes to the way dynops work,
OpLib has changed slightly. You now have to specify the name of the oplib
you want in the constructor. The modified testcase is:
{{{
.sub "main"
.local pmc oplib
$P0 = box 'core_ops'
oplib = new 'OpLib', $P0
trace 1
$P0 = oplib['say_sc']
.end
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1700#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets