refactor: simplify casting instructions

This commit is contained in:
oSumAtrIX
2023-05-06 23:10:01 +02:00
parent 1abc929583
commit aada4d9e9b
30 changed files with 193 additions and 150 deletions

View File

@ -50,6 +50,8 @@ class DisableCaptureRestrictionBytecodePatch : BytecodePatch(
// Store register of the integer parameter for setAllowedCapturePolicy
invokeParamRegister = (instruction as FiveRegisterInstruction).registerD
invokePosition = index
break
}
if(invokePosition == null || invokeParamRegister == null)