Skip to content
Prev Previous commit
Next Next commit
Refactor
  • Loading branch information
egiptipavel committed Aug 3, 2023
commit 1dfb8e6d9b23f9952460ec00f9f2b4123a3a3433
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ class ProcessingStorage {
instructionsData.computeIfAbsent(id) {
val (className, _) = computeClassNameAndLocalId(id)
classToInstructionsCount.merge(className, 1, Long::plus)
if (methodId !in methodIdToInstructionsIds) {
methodIdToInstructionsIds[methodId] = mutableListOf(id)
} else {
methodIdToInstructionsIds[methodId]!!.add(id)
}
methodIdToInstructionsIds.getOrPut(methodId) { mutableListOf() }.add(id)
instructionData
}
}
Expand Down