private void loadStaticField ( XField staticField , Instruction obj ) { if ( RLE_DEBUG ) { System . out . println ( "[loadStaticField for field " + staticField + " in instruction " + handle ) ; } ValueNumberFrame frame = getFrame ( ) ; AvailableLoad availableLoad = new AvailableLoad ( staticField ) ; ValueNumber [ ] loadedValue = frame . getAvailableLoad ( availableLoad ) ; if ( loadedValue == null ) { // Make the load available int numWordsProduced = getNumWordsProduced ( obj ) ; loadedValue = getOutputValues ( EMPTY_INPUT_VALUE_LIST , numWordsProduced ) ; frame . addAvailableLoad ( availableLoad , loadedValue ) ; if ( RLE_DEBUG ) { System . out . println ( "[making load of " + staticField + " available]" ) ; } } else { if ( RLE_DEBUG ) { System . out . println ( "[found available load of " + staticField + "]" ) ; } } if ( VERIFY_INTEGRITY ) { checkConsumedAndProducedValues ( obj , EMPTY_INPUT_VALUE_LIST , loadedValue ) ; } pushOutputValues ( loadedValue ) ; }
Load a static field .