Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/parseHelper.cpp Wed Oct 23 10:00:39 2013 +0200 +++ b/src/share/vm/opto/parseHelper.cpp Wed Oct 23 12:40:23 2013 +0200 @@ -128,7 +128,7 @@ } // Push the bool result back on stack - Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass))); + Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)), true); // Pop from stack AFTER gen_instanceof because it can uncommon trap. pop();