File tree 1 file changed +3
-3
lines changed
src/hotspot/share/gc/shared/c2
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2018, 2023 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2018, 2024 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -92,9 +92,9 @@ class C2AccessValuePtr: public C2AccessValue {
92
92
93
93
public:
94
94
C2AccessValuePtr (Node* node, const TypePtr* type) :
95
- C2AccessValue (node, reinterpret_cast < const Type*>( type) ) {}
95
+ C2AccessValue (node, type) {}
96
96
97
- const TypePtr* type () const { return reinterpret_cast < const TypePtr*>(_type ); }
97
+ const TypePtr* type () const { return _type-> is_ptr ( ); }
98
98
};
99
99
100
100
// This class wraps a bunch of context parameters that are passed around in the
You can’t perform that action at this time.
0 commit comments