How do I do if I would want to have my own version of one of these?
If I add my own version of the routine CL__Ms, I get a warning that it’s never called (and possibly is it removed if I choose $OMIT_UNUSED_ROUTINES=1). The compiler recognizes that I have the routine replaced and don’t insert the veneer one.
source\new_veneer.inf(19): Warning: Routine "Cl__Ms" declared but not used
Compiling veneer routines:
RV__Pr
CA__Pr
RA__Pr
RL__Pr
OP__Pr
OC__Cl
Copy__Primitive
RT__Err
Z__Region
Unsigned__Compare
Meta__class
CP__Tab
Print__PName
Are you only saying this with respect to veneer routines? I’ve been replacing action routines (like GoSub, LockSub and UnlockSub) for years and I always put them at the end of my code, along with all the other action routines.
When replacing a veneer function like RV__Pr, is there a way to make expressions like obj.#identifier <= 2 to compile with native syntax (get_prop_addr and get_prop_len) or do I have to use the opcodes myself with the @-syntax? Now it calls itself and fills up the stack.