mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8207049: Minor improvements of compiler code
Reviewed-by: kvn, mdoerr
This commit is contained in:
parent
f508eb1370
commit
2e682fa3cd
37 changed files with 158 additions and 115 deletions
|
@ -659,7 +659,8 @@ bool ArrayCopyNode::may_modify(const TypeOopPtr *t_oop, MemBarNode* mb, PhaseTra
|
|||
c = bs->step_over_gc_barrier(c);
|
||||
|
||||
CallNode* call = NULL;
|
||||
if (c != NULL && c->is_Region()) {
|
||||
guarantee(c != NULL, "step_over_gc_barrier failed, there must be something to step to.");
|
||||
if (c->is_Region()) {
|
||||
for (uint i = 1; i < c->req(); i++) {
|
||||
if (c->in(i) != NULL) {
|
||||
Node* n = c->in(i)->in(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue