Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/utilities/NeverValidAssumption.java @ 17439:e9c8742148c1
Truffle: NeverValidAssumption can be invalidated.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Tue, 14 Oct 2014 15:06:49 +0100 |
parents | d51c097cca37 |
children |
comparison
equal
deleted
inserted
replaced
17431:df548b06c259 | 17439:e9c8742148c1 |
---|---|
43 throw new InvalidAssumptionException(); | 43 throw new InvalidAssumptionException(); |
44 } | 44 } |
45 | 45 |
46 @Override | 46 @Override |
47 public void invalidate() { | 47 public void invalidate() { |
48 throw new UnsupportedOperationException("Cannot invalidate this assumption - it is never valid"); | |
49 } | 48 } |
50 | 49 |
51 @Override | 50 @Override |
52 public String getName() { | 51 public String getName() { |
53 return getClass().getName(); | 52 return getClass().getName(); |