Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/NodeExecutionData.java @ 19292:906367e494ca
Truffle-DSL: fix invalid parameter order for executeWith with non-linear execution.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 11 Feb 2015 12:13:44 +0100 |
parents | 2db61eddcb97 |
children | 18c0f02fa4d2 |
comparison
equal
deleted
inserted
replaced
19291:f4792a544170 | 19292:906367e494ca |
---|---|
72 | 72 |
73 public boolean isShortCircuit() { | 73 public boolean isShortCircuit() { |
74 return shortCircuit; | 74 return shortCircuit; |
75 } | 75 } |
76 | 76 |
77 public String getShortCircuitId() { | 77 public String getIndexedName() { |
78 return createShortCircuitId(child, index); | 78 return createIndexedName(child, index); |
79 } | 79 } |
80 | 80 |
81 public static String createShortCircuitId(NodeChildData child, int varArgsIndex) { | 81 public static String createIndexedName(NodeChildData child, int varArgsIndex) { |
82 String shortCircuitName = child.getName(); | 82 String shortCircuitName = child.getName(); |
83 if (child.getCardinality().isMany()) { | 83 if (child.getCardinality().isMany()) { |
84 shortCircuitName = shortCircuitName + "[" + varArgsIndex + "]"; | 84 shortCircuitName = shortCircuitName + "[" + varArgsIndex + "]"; |
85 } | 85 } |
86 return shortCircuitName; | 86 return shortCircuitName; |