< prev index next >

src/hotspot/share/ci/ciArray.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 35,45 **** // ciArray // // This class represents an arrayOop in the HotSpot virtual // machine. static BasicType fixup_element_type(BasicType bt) { ! if (bt == T_ARRAY) return T_OBJECT; if (bt == T_BOOLEAN) return T_BYTE; return bt; } ciConstant ciArray::element_value_impl(BasicType elembt, --- 35,45 ---- // ciArray // // This class represents an arrayOop in the HotSpot virtual // machine. static BasicType fixup_element_type(BasicType bt) { ! if (is_reference_type(bt)) return T_OBJECT; if (bt == T_BOOLEAN) return T_BYTE; return bt; } ciConstant ciArray::element_value_impl(BasicType elembt,
< prev index next >