Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/replacements/InstanceOfSnippets.java @ 10042:0b30da13d86b
fixed bug in InstanceOfSnippets - deoptimization action should be None for instanceofWithProfile snippet
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Jun 2013 15:01:20 +0200 |
parents | 7709bb831916 |
children | abb9d3a26025 |
comparison
equal
deleted
inserted
replaced
10041:595f1f253ef4 | 10042:0b30da13d86b |
---|---|
87 return positive ? trueValue : falseValue; | 87 return positive ? trueValue : falseValue; |
88 } | 88 } |
89 } | 89 } |
90 // Don't throw away the code as we assume this is a rare event | 90 // Don't throw away the code as we assume this is a rare event |
91 // that will periodically occur. | 91 // that will periodically occur. |
92 DeoptimizeNode.deopt(InvalidateReprofile, OptimizedTypeCheckViolated); | 92 DeoptimizeNode.deopt(DeoptimizationAction.None, OptimizedTypeCheckViolated); |
93 return falseValue; | 93 return falseValue; |
94 } | 94 } |
95 | 95 |
96 /** | 96 /** |
97 * A test against a final type. | 97 * A test against a final type. |