13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "precompiled.hpp" 26 #include "ci/ciMethodData.hpp" 27 #include "classfile/systemDictionary.hpp" 28 #include "classfile/vmSymbols.hpp" 29 #include "compiler/compileLog.hpp" 30 #include "interpreter/linkResolver.hpp" 31 #include "memory/universe.inline.hpp" 32 #include "opto/addnode.hpp" 33 #include "opto/divnode.hpp" 34 #include "opto/idealGraphPrinter.hpp" 35 #include "opto/matcher.hpp" 36 #include "opto/memnode.hpp" 37 #include "opto/mulnode.hpp" 38 #include "opto/parse.hpp" 39 #include "opto/runtime.hpp" 40 #include "runtime/deoptimization.hpp" 41 #include "runtime/sharedRuntime.hpp" 42 43 extern int explicit_null_checks_inserted, 44 explicit_null_checks_elided; 45 46 //---------------------------------array_load---------------------------------- 47 void Parse::array_load(BasicType elem_type) { 48 const Type* elem = Type::TOP; 49 Node* adr = array_addressing(elem_type, 0, &elem); 50 if (stopped()) return; // guaranteed null or range check 51 dec_sp(2); // Pop array and index 52 const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type); | 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #include "precompiled.hpp" 26 #include "ci/ciMethodData.hpp" 27 #include "classfile/systemDictionary.hpp" 28 #include "classfile/vmSymbols.hpp" 29 #include "compiler/compileLog.hpp" 30 #include "interpreter/linkResolver.hpp" 31 #include "memory/universe.inline.hpp" 32 #include "opto/addnode.hpp" 33 #include "opto/castnode.hpp" 34 #include "opto/convertnode.hpp" 35 #include "opto/divnode.hpp" 36 #include "opto/idealGraphPrinter.hpp" 37 #include "opto/matcher.hpp" 38 #include "opto/memnode.hpp" 39 #include "opto/mulnode.hpp" 40 #include "opto/parse.hpp" 41 #include "opto/runtime.hpp" 42 #include "runtime/deoptimization.hpp" 43 #include "runtime/sharedRuntime.hpp" 44 45 extern int explicit_null_checks_inserted, 46 explicit_null_checks_elided; 47 48 //---------------------------------array_load---------------------------------- 49 void Parse::array_load(BasicType elem_type) { 50 const Type* elem = Type::TOP; 51 Node* adr = array_addressing(elem_type, 0, &elem); 52 if (stopped()) return; // guaranteed null or range check 53 dec_sp(2); // Pop array and index 54 const TypeAryPtr* adr_type = TypeAryPtr::get_array_body_type(elem_type); |