Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/phaseX.hpp @ 6266:1d7922586cf6
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author | twisti |
---|---|
date | Tue, 24 Jul 2012 10:51:00 -0700 |
parents | 5e990493719e |
children | ee7edf31f688 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
191 // Get a previously recorded type for the node n. | 191 // Get a previously recorded type for the node n. |
192 // This type must already have been recorded. | 192 // This type must already have been recorded. |
193 // If you want the type of a very new (untransformed) node, | 193 // If you want the type of a very new (untransformed) node, |
194 // you must use type_or_null, and test the result for NULL. | 194 // you must use type_or_null, and test the result for NULL. |
195 const Type* type(const Node* n) const { | 195 const Type* type(const Node* n) const { |
196 assert(n != NULL, "must not be null"); | |
196 const Type* t = _types.fast_lookup(n->_idx); | 197 const Type* t = _types.fast_lookup(n->_idx); |
197 assert(t != NULL, "must set before get"); | 198 assert(t != NULL, "must set before get"); |
198 return t; | 199 return t; |
199 } | 200 } |
200 // Get a previously recorded type for the node n, | 201 // Get a previously recorded type for the node n, |