Skip to content
Snippets Groups Projects
Commit 3baf5336 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

additional profile for ArrayPositionsCast.dimensionsError

parent 6ffb1cac
Branches
No related tags found
No related merge requests found
......@@ -53,6 +53,8 @@ abstract class ArrayPositionsCastBase extends RNode {
this.isSubset = isSubset;
}
private final BranchProfile errorProfile = BranchProfile.create();
private final ConditionProfile nameConditionProfile = ConditionProfile.createBinaryProfile();
private final BranchProfile naValueMet = BranchProfile.create();
private final BranchProfile intVectorMet = BranchProfile.create();
......@@ -87,7 +89,8 @@ abstract class ArrayPositionsCastBase extends RNode {
return rowNames.getLength();
}
protected void dimensionsError() {
private void dimensionsError() {
errorProfile.enter();
if (assignment) {
if (isSubset) {
if (numDimensions == 2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment