mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
Merge
This commit is contained in:
commit
aabed3781b
1054 changed files with 36891 additions and 14735 deletions
|
@ -777,7 +777,6 @@ public:
|
|||
// recorded type: cell without bit 0 and 1
|
||||
static intptr_t klass_part(intptr_t v) {
|
||||
intptr_t r = v & type_klass_mask;
|
||||
assert (r != 0, "invalid");
|
||||
return r;
|
||||
}
|
||||
|
||||
|
@ -785,7 +784,9 @@ public:
|
|||
static Klass* valid_klass(intptr_t k) {
|
||||
if (!is_type_none(k) &&
|
||||
!is_type_unknown(k)) {
|
||||
return (Klass*)klass_part(k);
|
||||
Klass* res = (Klass*)klass_part(k);
|
||||
assert(res != NULL, "invalid");
|
||||
return res;
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue