Mercurial > hg > truffle
comparison src/share/vm/opto/parseHelper.cpp @ 12966:b2ee5dc63353
8024070: C2 needs some form of type speculation
Summary: record unused type profile information with type system, propagate and use it.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Wed, 23 Oct 2013 12:40:23 +0200 |
parents | c775af091fe9 |
children | 2113136690bc |
comparison
equal
deleted
inserted
replaced
12965:8b4bbba322d3 | 12966:b2ee5dc63353 |
---|---|
126 } | 126 } |
127 return; | 127 return; |
128 } | 128 } |
129 | 129 |
130 // Push the bool result back on stack | 130 // Push the bool result back on stack |
131 Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass))); | 131 Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)), true); |
132 | 132 |
133 // Pop from stack AFTER gen_instanceof because it can uncommon trap. | 133 // Pop from stack AFTER gen_instanceof because it can uncommon trap. |
134 pop(); | 134 pop(); |
135 push(res); | 135 push(res); |
136 } | 136 } |