src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.loop.phases/src/org/graalvm/compiler/loop/phases/LoopPhase.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 |
23 |
24 |
24 |
25 package org.graalvm.compiler.loop.phases; |
25 package org.graalvm.compiler.loop.phases; |
26 |
26 |
27 import org.graalvm.compiler.loop.LoopPolicies; |
27 import org.graalvm.compiler.loop.LoopPolicies; |
|
28 import org.graalvm.compiler.nodes.spi.CoreProviders; |
28 import org.graalvm.compiler.phases.BasePhase; |
29 import org.graalvm.compiler.phases.BasePhase; |
29 import org.graalvm.compiler.phases.tiers.PhaseContext; |
|
30 |
30 |
31 public abstract class LoopPhase<P extends LoopPolicies> extends BasePhase<PhaseContext> { |
31 public abstract class LoopPhase<P extends LoopPolicies> extends BasePhase<CoreProviders> { |
32 private P policies; |
32 private P policies; |
33 |
33 |
34 public LoopPhase(P policies) { |
34 public LoopPhase(P policies) { |
35 this.policies = policies; |
35 this.policies = policies; |
36 } |
36 } |