src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotSuitesProvider.java
equal
deleted
inserted
replaced
166 LIRSuites suites = defaultSuitesCreator.createLIRSuites(options); |
166 LIRSuites suites = defaultSuitesCreator.createLIRSuites(options); |
167 String profileInstructions = HotSpotBackend.Options.ASMInstructionProfiling.getValue(options); |
167 String profileInstructions = HotSpotBackend.Options.ASMInstructionProfiling.getValue(options); |
168 if (profileInstructions != null) { |
168 if (profileInstructions != null) { |
169 suites.getPostAllocationOptimizationStage().appendPhase(new HotSpotInstructionProfiling(profileInstructions)); |
169 suites.getPostAllocationOptimizationStage().appendPhase(new HotSpotInstructionProfiling(profileInstructions)); |
170 } |
170 } |
171 if (Assertions.detailedAssertionsEnabled(options)) { |
171 if (Assertions.assertionsEnabled()) { |
172 suites.getPostAllocationOptimizationStage().appendPhase(new VerifyMaxRegisterSizePhase(config.maxVectorSize)); |
172 suites.getPostAllocationOptimizationStage().appendPhase(new VerifyMaxRegisterSizePhase(config.maxVectorSize)); |
173 } |
173 } |
174 return suites; |
174 return suites; |
175 } |
175 } |
176 } |
176 } |