src/hotspot/cpu/ppc/c1_Runtime1_ppc.cpp
changeset 50094 2f79462aab9b
parent 49906 4bb58f644e4e
child 50397 ea262754f8a9
equal deleted inserted replaced
50093:55153a374d18 50094:2f79462aab9b
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2012, 2015 SAP SE. All rights reserved.
     3  * Copyright (c) 2012, 2018 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
   500       break;
   500       break;
   501 
   501 
   502     case throw_range_check_failed_id:
   502     case throw_range_check_failed_id:
   503       {
   503       {
   504         __ set_info("range_check_failed", dont_gc_arguments); // Arguments will be discarded.
   504         __ set_info("range_check_failed", dont_gc_arguments); // Arguments will be discarded.
   505         __ std(R0, -8, R1_SP); // Pass index on stack.
   505         oop_maps = generate_exception_throw_with_stack_parms(sasm, CAST_FROM_FN_PTR(address, throw_range_check_exception), 2);
   506         oop_maps = generate_exception_throw_with_stack_parms(sasm, CAST_FROM_FN_PTR(address, throw_range_check_exception), 1);
       
   507       }
   506       }
   508       break;
   507       break;
   509 
   508 
   510     case throw_index_exception_id:
   509     case throw_index_exception_id:
   511       {
   510       {