| // Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| private static void noLocals() { |
| System.out.println("There's no local here"); |
| private static void unusedLocals() { |
| int i = Integer.MAX_VALUE; |
| System.out.println("Not using local variable"); |
| private static void constantLocals(int p) { |
| System.out.println("c=" + c + ", v=" + v); |
| private static void zeroLocals() { |
| System.out.println("zeroLocals"); |
| private static void noFlowOptimization() { |
| System.out.println("i == 0"); |
| System.out.println("i != 0"); |
| public static void main(String[] args) { |