src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/HotSpotSuitesProvider.java
changeset 58877 aec7bf35d6f5
parent 58299 6df94ce3ab2f
equal deleted inserted replaced
58876:1a8d65e71a66 58877:aec7bf35d6f5
   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 }