Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultAssumption.java @ 9259:324dcaedb1ed
Added a method isValid to the Assumption class. Added javadoc to the Assumption class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 23 Apr 2013 15:44:07 +0200 |
parents | 07f8d136a05e |
children | 494b818b527c |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultAssumption.java Tue Apr 23 15:34:06 2013 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/impl/DefaultAssumption.java Tue Apr 23 15:44:07 2013 +0200 @@ -41,4 +41,9 @@ public void invalidate() { isValid = false; } + + @Override + public boolean isValid() { + return isValid; + } }