Home
last modified time | relevance | path

Searched refs:currentLocals (Results 1 – 2 of 2) sorted by relevance

/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DJarState.java430 private Local[] mergeLocals(Local[] currentLocals, Local[] newLocals) { in mergeLocals() argument
431 assert currentLocals.length == newLocals.length; in mergeLocals()
433 for (int i = 0; i < currentLocals.length; i++) { in mergeLocals()
434 Local currentLocal = currentLocals[i]; in mergeLocals()
445 mergedLocals = new Local[currentLocals.length]; in mergeLocals()
446 System.arraycopy(currentLocals, 0, mergedLocals, 0, i); in mergeLocals()
451 mergedLocals[i] = currentLocals[i]; in mergeLocals()
454 return mergedLocals != null ? mergedLocals : currentLocals; in mergeLocals()
/external/r8/src/main/java/com/android/tools/r8/ir/regalloc/
DLinearScanRegisterAllocator.java278 Int2ReferenceMap<DebugLocalInfo> currentLocals = new Int2ReferenceOpenHashMap<>(); in computeDebugInfo() local
286 currentLocals.put(nextStartingRange.register, nextStartingRange.local); in computeDebugInfo()
304 assert currentLocals.get(openRange.register) == openRange.local; in computeDebugInfo()
305 currentLocals.remove(openRange.register); in computeDebugInfo()
314 assert !currentLocals.containsKey(nextStartingRange.register); in computeDebugInfo()
315 currentLocals.put(nextStartingRange.register, nextStartingRange.local); in computeDebugInfo()
323 block.setLocalsAtEntry(new Int2ReferenceOpenHashMap<>(currentLocals)); in computeDebugInfo()