提交 84c93d79 编写于 作者: N never

6930398: fix for return address locals in OSR entries uses wrong test

Reviewed-by: kvn
上级 40e7443e
...@@ -317,7 +317,7 @@ void Parse::load_interpreter_state(Node* osr_buf) { ...@@ -317,7 +317,7 @@ void Parse::load_interpreter_state(Node* osr_buf) {
continue; 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 // In our current system it's illegal for jsr addresses to be
// live into an OSR entry point because the compiler performs // live into an OSR entry point because the compiler performs
// inlining of jsrs. ciTypeFlow has a bailout that detect this // inlining of jsrs. ciTypeFlow has a bailout that detect this
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册