Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/match/MatchContext.java @ 17274:5c55441b4c62
fixed reported annotation parsing time in NodeClass
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 30 Sep 2014 21:35:36 +0200 |
parents | 589c3627fab8 |
children | c88ab4f1f04a |
comparison
equal
deleted
inserted
replaced
17273:43655130d0ab | 17274:5c55441b4c62 |
---|---|
124 * | 124 * |
125 * @param result | 125 * @param result |
126 */ | 126 */ |
127 public void setResult(ComplexMatchResult result) { | 127 public void setResult(ComplexMatchResult result) { |
128 ComplexMatchValue value = new ComplexMatchValue(result); | 128 ComplexMatchValue value = new ComplexMatchValue(result); |
129 Debug.log("matched %s %s", rule.getName(), rule.getPattern()); | 129 if (Debug.isLogEnabled()) { |
130 Debug.log("with nodes %s", rule.formatMatch(root)); | 130 Debug.log("matched %s %s", rule.getName(), rule.getPattern()); |
131 Debug.log("with nodes %s", rule.formatMatch(root)); | |
132 } | |
131 if (consumed != null) { | 133 if (consumed != null) { |
132 for (ValueNode node : consumed) { | 134 for (ValueNode node : consumed) { |
133 // All the interior nodes should be skipped during the normal doRoot calls in | 135 // All the interior nodes should be skipped during the normal doRoot calls in |
134 // NodeLIRBuilder so mark them as interior matches. The root of the match will get a | 136 // NodeLIRBuilder so mark them as interior matches. The root of the match will get a |
135 // closure which will be evaluated to produce the final LIR. | 137 // closure which will be evaluated to produce the final LIR. |