petdance/scratch — Issue #61: CONST_STRING in a dynop
Author: petdance
Created: 2011-11-01 05:41:07+00:00
State: open
Labels: core, feature, Pri-minor, Sev-low

Hi,
CONST_STRING works nicely in dynpmcs, but today I tried to use it in a dynop and it doesn't seem to be available there (just says its an undefined symbol and fails to link). While my op isn't an especially performance critical one (I'm writing an op 'cus I need to get at guts more than for performance), so using string_from_literal isn't so bad, it would be nice to have been able to use CONST_STRING in there (and others may have an op that will run lots and not creating more short-lived GC-able objects is always a good thing).

Thanks,

Jonathan

Originally http://trac.parrot.org/parrot/ticket/659