lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/machine/WAMBaseMachine.java
public void reserveReferenceToLabel(int labelName, int offset)
    {
        // Create call point with label name if it does not already exist.
        WAMReservedLabel label = (WAMReservedLabel) symbolTable.get(labelName, SYMKEY_CALLPOINTS);

        if (label == null)
        {
            label = new WAMReservedLabel(labelName);
            symbolTable.put(labelName, SYMKEY_CALLPOINTS, label);
        }

        // Add to the mapping from the label to referenced from addresses to fill in later.
        label.referenceList.add(offset);
    }
public void reserveReferenceToLabel(int labelName, int offset)
    {
        // Create call point with label name if it does not already exist.
        WAMReservedLabel label = (WAMReservedLabel) symbolTable.get(labelName, SYMKEY_CALLPOINTS);

        if (label == null)
        {
            label = new WAMReservedLabel(labelName);
            symbolTable.put(labelName, SYMKEY_CALLPOINTS, label);
        }

        // Add to the mapping from the label to referenced from addresses to fill in later.
        label.referenceList.add(offset);
    }
public void reserveReferenceToLabel ( int labelName , int offset ) { // Create call point with label name if it does not already exist. WAMReservedLabel label = ( WAMReservedLabel ) symbolTable . get ( labelName , SYMKEY_CALLPOINTS ) ; if ( label == null ) { label = new WAMReservedLabel ( labelName ) ; symbolTable . put ( labelName , SYMKEY_CALLPOINTS , label ) ; } // Add to the mapping from the label to referenced from addresses to fill in later. label . referenceList . add ( offset ) ; }
{@inheritDoc}
{