mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
7090976: Eclipse/CDT causes a JVM crash while indexing C++ code
Too optimistic inlining decision confuses local value numbering. Reviewed-by: never
This commit is contained in:
parent
2fd128fe15
commit
a59952f4c9
4 changed files with 110 additions and 9 deletions
|
@ -125,6 +125,7 @@ Value ValueMap::find_insert(Value x) {
|
|||
// otherwise it is possible that they are not evaluated
|
||||
f->pin(Instruction::PinGlobalValueNumbering);
|
||||
}
|
||||
assert(x->type()->tag() == f->type()->tag(), "should have same type");
|
||||
|
||||
return f;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue