Home
last modified time | relevance | path

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

/external/r8/src/main/java/com/android/tools/r8/ir/synthetic/
DForwardMethodSourceCode.java23 private final Invoke.Type invokeType; field in ForwardMethodSourceCode
26 DexType targetReceiver, DexMethod target, Invoke.Type invokeType) { in ForwardMethodSourceCode() argument
28 assert (targetReceiver == null) == (invokeType == Invoke.Type.STATIC); in ForwardMethodSourceCode()
32 this.invokeType = invokeType; in ForwardMethodSourceCode()
35 switch (invokeType) { in ForwardMethodSourceCode()
42 throw new Unimplemented("Invoke type " + invokeType + " is not yet supported."); in ForwardMethodSourceCode()
92 add(builder -> builder.addInvoke(this.invokeType, in prepareInstructions()
/external/r8/src/main/java/com/android/tools/r8/ir/desugar/
DLambdaMainMethodSourceCode.java191 boolean constructorTarget = target.invokeType == Invoke.Type.DIRECT; in prepareInstructions()
195 if (target.invokeType == Invoke.Type.VIRTUAL || target.invokeType == Invoke.Type.INTERFACE) { in prepareInstructions()
201 assert target.invokeType == Invoke.Type.STATIC in prepareInstructions()
202 || target.invokeType == Invoke.Type.VIRTUAL in prepareInstructions()
203 || target.invokeType == Invoke.Type.DIRECT in prepareInstructions()
204 || target.invokeType == Invoke.Type.INTERFACE; in prepareInstructions()
247 add(builder -> builder.addInvoke(target.invokeType, in prepareInstructions()
DLambdaClass.java375 final Invoke.Type invokeType; field in LambdaClass.Target
377 Target(DexMethod callTarget, Invoke.Type invokeType) { in Target() argument
379 assert invokeType != null; in Target()
381 this.invokeType = invokeType; in Target()
399 NoAccessorMethodTarget(Invoke.Type invokeType) { in NoAccessorMethodTarget() argument
400 super(descriptor.implHandle.asMethod(), invokeType); in NoAccessorMethodTarget() local
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DLensCodeRewriter.java99 Invoke.Type invokeType = getInvokeType(invoke, actualTarget, invokedMethod); in rewrite() local
100 if (actualTarget != invokedMethod || invoke.getType() != invokeType) { in rewrite()
102 .create(invokeType, actualTarget, null, in rewrite()
DJarSourceCode.java871 private Invoke.Type invokeType(MethodInsnNode method) { in invokeType() method in JarSourceCode
2470 Invoke.Type invokeType = invokeType(insn); in build()
2473 if (invokeType == Invoke.Type.POLYMORPHIC) { in build()
2478 builder.addInvoke(invokeType, targetMethod, callSiteProto, types, registers); in build()