diff options
author | never <none@none> | 2010-03-01 12:12:35 -0800 |
---|---|---|
committer | never <none@none> | 2010-03-01 12:12:35 -0800 |
commit | 0e97b96cfe16ac2db9f6c76056a8ca79b9019163 (patch) | |
tree | fcdbbea22e8af49ab9cec68efe6ecdb7af61da29 /src/share/vm/opto/parse1.cpp | |
parent | 770b2853f76f13daa698d96179f0e92d6eeea5ce (diff) |
6930398: fix for return address locals in OSR entries uses wrong test
Reviewed-by: kvn
Diffstat (limited to 'src/share/vm/opto/parse1.cpp')
-rw-r--r-- | src/share/vm/opto/parse1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/parse1.cpp b/src/share/vm/opto/parse1.cpp index edac19b6b..5543292ef 100644 --- a/src/share/vm/opto/parse1.cpp +++ b/src/share/vm/opto/parse1.cpp @@ -317,7 +317,7 @@ void Parse::load_interpreter_state(Node* osr_buf) { continue; } } - if (type->basic_type() == T_ADDRESS) { + if (osr_block->flow()->local_type_at(index)->is_return_address()) { // In our current system it's illegal for jsr addresses to be // live into an OSR entry point because the compiler performs // inlining of jsrs. ciTypeFlow has a bailout that detect this |