src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/DeoptimizingGuard.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/DeoptimizingGuard.java

Print this page




   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package org.graalvm.compiler.nodes;
  24 


  25 import jdk.vm.ci.meta.DeoptimizationAction;
  26 import jdk.vm.ci.meta.DeoptimizationReason;
  27 import jdk.vm.ci.meta.JavaConstant;
  28 
  29 /**
  30  * Shared interface to capture core methods of {@link AbstractFixedGuardNode} and {@link GuardNode}.
  31  *
  32  */
  33 public interface DeoptimizingGuard extends ValueNodeInterface {
  34 
  35     LogicNode getCondition();
  36 
  37     void setCondition(LogicNode x, boolean negated);
  38 
  39     DeoptimizationReason getReason();
  40 
  41     DeoptimizationAction getAction();
  42 
  43     JavaConstant getSpeculation();
  44 
  45     boolean isNegated();
  46 }


   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 package org.graalvm.compiler.nodes;
  24 
  25 import org.graalvm.compiler.nodes.extended.GuardingNode;
  26 
  27 import jdk.vm.ci.meta.DeoptimizationAction;
  28 import jdk.vm.ci.meta.DeoptimizationReason;
  29 import jdk.vm.ci.meta.JavaConstant;
  30 
  31 /**
  32  * Shared interface to capture core methods of {@link AbstractFixedGuardNode} and {@link GuardNode}.
  33  *
  34  */
  35 public interface DeoptimizingGuard extends ValueNodeInterface, GuardingNode {
  36 
  37     LogicNode getCondition();
  38 
  39     void setCondition(LogicNode x, boolean negated);
  40 
  41     DeoptimizationReason getReason();
  42 
  43     DeoptimizationAction getAction();
  44 
  45     JavaConstant getSpeculation();
  46 
  47     boolean isNegated();
  48 }
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/DeoptimizingGuard.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File