Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/bytecode.hpp @ 4055:e342a5110bed
7106774: JSR 292: nightly test inlineMHTarget fails with wrong result
Reviewed-by: kvn
author | twisti |
---|---|
date | Thu, 03 Nov 2011 01:43:26 -0700 |
parents | b92c45f2bc75 |
children | 1d7922586cf6 |
comparison
equal
deleted
inserted
replaced
4054:71699e9d8673 | 4055:e342a5110bed |
---|---|
232 is_invokevirtual() || | 232 is_invokevirtual() || |
233 is_invokestatic() || | 233 is_invokestatic() || |
234 is_invokespecial() || | 234 is_invokespecial() || |
235 is_invokedynamic(); } | 235 is_invokedynamic(); } |
236 | 236 |
237 bool is_method_handle_invoke() const { | |
238 return (is_invokedynamic() || | |
239 (is_invokevirtual() && | |
240 method()->constants()->klass_ref_at_noresolve(index()) == vmSymbols::java_lang_invoke_MethodHandle() && | |
241 methodOopDesc::is_method_handle_invoke_name(name()))); | |
242 } | |
243 | |
237 // Helper to skip verification. Used is_valid() to check if the result is really an invoke | 244 // Helper to skip verification. Used is_valid() to check if the result is really an invoke |
238 inline friend Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci); | 245 inline friend Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci); |
239 }; | 246 }; |
240 | 247 |
241 inline Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci) { | 248 inline Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci) { |