RexxMemory.cpp
    IntegerZero   = new_integer(0);
    IntegerOne    = new_integer(1);
    ...

Looking at RexxMemory::live, I don’t see what is marking IntegerZero.

Other global static variables like TheTrueObject  or nullPointer are put in a 
collection.
    addToEnvironment("TRUE", TheTrueObject);
    addToSystem("NULLPOINTER", TheNullPointer);
and protected:
    memory_mark(environment);
    memory_mark(system);


Side question, out of curiosity:
    // Create some special Rexx objects.
    TheTrueObject  = new RexxInteger(1);
    TheFalseObject = new RexxInteger(0);
With these assignments, we have TheTrueObject <> IntegerOne, right?
Why not assigning IntegerZero, IntegerOne?
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to