Mercurial > hg > graal-compiler
comparison src/share/vm/interpreter/bytecode.hpp @ 1138:dd57230ba8fe
6893268: additional dynamic language related optimizations in C2
Summary: C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Tue, 05 Jan 2010 15:21:25 +0100 |
parents | e66fd840cb6b |
children | c18cbe5936b8 ab102d5d923e |
comparison
equal
deleted
inserted
replaced
1137:97125851f396 | 1138:dd57230ba8fe |
---|---|
203 bool is_invokevirtual() const { return adjusted_invoke_code() == Bytecodes::_invokevirtual; } | 203 bool is_invokevirtual() const { return adjusted_invoke_code() == Bytecodes::_invokevirtual; } |
204 bool is_invokestatic() const { return adjusted_invoke_code() == Bytecodes::_invokestatic; } | 204 bool is_invokestatic() const { return adjusted_invoke_code() == Bytecodes::_invokestatic; } |
205 bool is_invokespecial() const { return adjusted_invoke_code() == Bytecodes::_invokespecial; } | 205 bool is_invokespecial() const { return adjusted_invoke_code() == Bytecodes::_invokespecial; } |
206 bool is_invokedynamic() const { return adjusted_invoke_code() == Bytecodes::_invokedynamic; } | 206 bool is_invokedynamic() const { return adjusted_invoke_code() == Bytecodes::_invokedynamic; } |
207 | 207 |
208 bool has_receiver() const { return !is_invokestatic() && !is_invokedynamic(); } | |
208 bool has_giant_index() const { return is_invokedynamic(); } | 209 bool has_giant_index() const { return is_invokedynamic(); } |
209 | 210 |
210 bool is_valid() const { return is_invokeinterface() || | 211 bool is_valid() const { return is_invokeinterface() || |
211 is_invokevirtual() || | 212 is_invokevirtual() || |
212 is_invokestatic() || | 213 is_invokestatic() || |