File tree 1 file changed +3
-3
lines changed
substratevm/src/com.oracle.graal.pointsto/src/com/oracle/graal/pointsto/meta 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 32
32
import java .util .concurrent .atomic .AtomicIntegerFieldUpdater ;
33
33
import java .util .concurrent .atomic .AtomicReferenceFieldUpdater ;
34
34
35
- import jdk .graal .compiler .debug .GraalError ;
36
-
37
35
import com .oracle .graal .pointsto .api .DefaultUnsafePartition ;
38
36
import com .oracle .graal .pointsto .api .HostVM ;
39
37
import com .oracle .graal .pointsto .api .PointstoOptions ;
42
40
import com .oracle .graal .pointsto .infrastructure .OriginalFieldProvider ;
43
41
import com .oracle .graal .pointsto .infrastructure .WrappedJavaField ;
44
42
import com .oracle .graal .pointsto .typestate .TypeState ;
43
+ import com .oracle .graal .pointsto .util .AnalysisError ;
45
44
import com .oracle .graal .pointsto .util .AtomicUtils ;
46
45
import com .oracle .graal .pointsto .util .ConcurrentLightHashSet ;
47
46
import com .oracle .svm .util .UnsafePartitionKind ;
48
47
48
+ import jdk .graal .compiler .debug .GraalError ;
49
49
import jdk .vm .ci .code .BytecodePosition ;
50
50
import jdk .vm .ci .meta .JavaConstant ;
51
51
import jdk .vm .ci .meta .JavaKind ;
@@ -480,7 +480,7 @@ public void setPosition(int newPosition) {
480
480
}
481
481
482
482
public int getPosition () {
483
- assert position != -1 : this ;
483
+ AnalysisError . guarantee ( position != -1 , "Unknown position for field %s" , this ) ;
484
484
return position ;
485
485
}
486
486
You can’t perform that action at this time.
0 commit comments