mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
7128352: assert(obj_node == obj) failed
Compare uncasted object nodes. Reviewed-by: never
This commit is contained in:
parent
94927c382b
commit
791afc42da
11 changed files with 44 additions and 32 deletions
|
@ -429,6 +429,10 @@ protected:
|
|||
|
||||
// Strip away casting. (It is depth-limited.)
|
||||
Node* uncast() const;
|
||||
// Return whether two Nodes are equivalent, after stripping casting.
|
||||
bool eqv_uncast(const Node* n) const {
|
||||
return (this->uncast() == n->uncast());
|
||||
}
|
||||
|
||||
private:
|
||||
static Node* uncast_helper(const Node* n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue