Home
last modified time | relevance | path

Searched refs:producerOffset (Results 1 – 5 of 5) sorted by relevance

/external/proguard/src/proguard/preverify/
DCodePreverifier.java441 int producerOffset = producers.instructionOffset(0); in correspondingVerificationType() local
444 while (producerOffset != PartialEvaluator.AT_METHOD_ENTRY && in correspondingVerificationType()
445 isDupOrSwap(codeAttribute.code[producerOffset])) in correspondingVerificationType()
447 …producers = partialEvaluator.getStackBefore(producerOffset).getTopProducerValue(0).instructio… in correspondingVerificationType()
448 producerOffset = producers.minimumValue(); in correspondingVerificationType()
456 producerOffset > PartialEvaluator.AT_METHOD_ENTRY && in correspondingVerificationType()
457 codeAttribute.code[producerOffset] == InstructionConstants.OP_ALOAD_0)) in correspondingVerificationType()
465 if (producerOffset > PartialEvaluator.AT_METHOD_ENTRY && in correspondingVerificationType()
466 offset <= partialEvaluator.initializationOffset(producerOffset)) in correspondingVerificationType()
469 return VerificationTypeFactory.createUninitializedType(producerOffset); in correspondingVerificationType()
/external/proguard/src/proguard/optimize/evaluation/
DSimpleEnumUseSimplifier.java773 int producerOffset = producerOffsets.instructionOffset(index); in replaceNullStackEntryProducers() local
776 if (producerOffset >= 0 && in replaceNullStackEntryProducers()
777 codeAttribute.code[producerOffset] == InstructionConstants.OP_ACONST_NULL) in replaceNullStackEntryProducers()
781 producerOffset, in replaceNullStackEntryProducers()
804 int producerOffset = producerOffsets.instructionOffset(index); in replaceNullVariableProducers() local
806 if (producerOffset >= 0 && in replaceNullVariableProducers()
807 …partialEvaluator.getVariablesAfter(producerOffset).getValue(variableIndex).referenceValue().isNull… in replaceNullVariableProducers()
811 producerOffset, in replaceNullVariableProducers()
816 replaceNullStackEntryProducers(clazz, method, codeAttribute, producerOffset); in replaceNullVariableProducers()
DSimpleEnumUseChecker.java470 int producerOffset = in checkMixedStackEntriesBefore() local
473 if (producerOffset >= 0) in checkMixedStackEntriesBefore()
478 … partialEvaluator.getStackAfter(producerOffset).getTop(0).referenceValue(); in checkMixedStackEntriesBefore()
487 markPushedComplexEnumType(producerOffset); in checkMixedStackEntriesBefore()
532 int producerOffset = in checkMixedVariablesBefore() local
535 if (producerOffset >= 0) in checkMixedVariablesBefore()
540 … partialEvaluator.getVariablesAfter(producerOffset).getValue(variableIndex).referenceValue(); in checkMixedVariablesBefore()
549 markStoredComplexEnumType(producerOffset, variableIndex); in checkMixedVariablesBefore()
DEvaluationSimplifier.java876 int producerOffset = producerOffsets.instructionOffset(0); in replaceSimpleEnumSwitchInstruction() local
878 if (codeAttribute.code[producerOffset] == InstructionConstants.OP_IALOAD && in replaceSimpleEnumSwitchInstruction()
879 !codeAttributeEditor.isModified(producerOffset)) in replaceSimpleEnumSwitchInstruction()
882 partialEvaluator.getStackBefore(producerOffset).getTop(1).referenceValue(); in replaceSimpleEnumSwitchInstruction()
889 producerOffset, in replaceSimpleEnumSwitchInstruction()
963 int producerOffset = producerOffsets.instructionOffset(0); in replaceSimpleEnumSwitchInstruction() local
965 if (codeAttribute.code[producerOffset] == InstructionConstants.OP_IALOAD && in replaceSimpleEnumSwitchInstruction()
966 !codeAttributeEditor.isModified(producerOffset)) in replaceSimpleEnumSwitchInstruction()
969 partialEvaluator.getStackBefore(producerOffset).getTop(1).referenceValue(); in replaceSimpleEnumSwitchInstruction()
976 producerOffset, in replaceSimpleEnumSwitchInstruction()
DEvaluationShrinker.java1482 int producerOffset = in markVariableInitializersBefore() local
1484 if (producerOffset < consumerOffset) in markVariableInitializersBefore()
1486 markVariableInitializersAfter(producerOffset, variableIndex); in markVariableInitializersBefore()
1499 private void markVariableInitializersAfter(int producerOffset, in markVariableInitializersAfter() argument
1503 if (!isInstructionNecessary(producerOffset)) in markVariableInitializersAfter()
1506 if (isVariableInitialization(producerOffset, variableIndex)) in markVariableInitializersAfter()
1511 markInstruction(producerOffset); in markVariableInitializersAfter()
1520 markVariableInitializersBefore(producerOffset, variableIndex); in markVariableInitializersAfter()