Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultAssumption.java @ 13760:a12017c18d5d
Truffle API cleanup: Reduce the visibility of classes and constructors that are not intended to be instantiated by guest language implementations; provide abstract class RootCallTarget as a CallTarget to a RootNode
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Fri, 24 Jan 2014 18:13:38 -0800 |
parents | 494b818b527c |
children |
comparison
equal
deleted
inserted
replaced
13759:eed1aafead0d | 13760:a12017c18d5d |
---|---|
22 * or visit www.oracle.com if you need additional information or have any | 22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api.impl; | 25 package com.oracle.truffle.api.impl; |
26 | 26 |
27 import com.oracle.truffle.api.*; | |
27 import com.oracle.truffle.api.nodes.*; | 28 import com.oracle.truffle.api.nodes.*; |
28 | 29 |
29 public final class DefaultAssumption extends AbstractAssumption { | 30 /** |
31 * This is an implementation-specific class. Do not use or instantiate it. Instead, use | |
32 * {@link TruffleRuntime#createAssumption()} to create an {@link Assumption}. | |
33 */ | |
34 final class DefaultAssumption extends AbstractAssumption { | |
30 | 35 |
31 public DefaultAssumption(String name) { | 36 DefaultAssumption(String name) { |
32 super(name); | 37 super(name); |
33 } | 38 } |
34 | 39 |
35 @Override | 40 @Override |
36 public void check() throws InvalidAssumptionException { | 41 public void check() throws InvalidAssumptionException { |