mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 20:27:36 +02:00
Fix an error when getting parameters on a method with no debug info
This commit is contained in:
@ -56,7 +56,7 @@ public abstract class DebugInfo implements Iterable<DebugItem> {
|
||||
public static DebugInfo newOrEmpty(@Nonnull DexBuffer dexBuf, int debugInfoOffset,
|
||||
@Nonnull DexBackedMethodImplementation methodImpl) {
|
||||
if (debugInfoOffset == 0) {
|
||||
new EmptyDebugInfo(methodImpl.method);
|
||||
return new EmptyDebugInfo(methodImpl.method);
|
||||
}
|
||||
return new DebugInfoImpl(dexBuf, debugInfoOffset, methodImpl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user