Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/bytecode.hpp @ 1135:e66fd840cb6b
6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
Summary: During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Mon, 04 Jan 2010 18:38:08 +0100 |
parents | bd02caa94611 |
children | dd57230ba8fe |
comparison
equal
deleted
inserted
replaced
1134:0910903272e5 | 1135:e66fd840cb6b |
---|---|
208 bool has_giant_index() const { return is_invokedynamic(); } | 208 bool has_giant_index() const { return is_invokedynamic(); } |
209 | 209 |
210 bool is_valid() const { return is_invokeinterface() || | 210 bool is_valid() const { return is_invokeinterface() || |
211 is_invokevirtual() || | 211 is_invokevirtual() || |
212 is_invokestatic() || | 212 is_invokestatic() || |
213 is_invokespecial(); } | 213 is_invokespecial() || |
214 is_invokedynamic(); } | |
214 | 215 |
215 // Creation | 216 // Creation |
216 inline friend Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci); | 217 inline friend Bytecode_invoke* Bytecode_invoke_at(methodHandle method, int bci); |
217 | 218 |
218 // Like Bytecode_invoke_at. Instead it returns NULL if the bci is not at an invoke. | 219 // Like Bytecode_invoke_at. Instead it returns NULL if the bci is not at an invoke. |