16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #ifdef COMPILER2
28 #include "asm/macroAssembler.inline.hpp"
29 #include "classfile/systemDictionary.hpp"
30 #include "code/vmreg.hpp"
31 #include "interpreter/interpreter.hpp"
32 #include "interpreter/interp_masm.hpp"
33 #include "memory/resourceArea.hpp"
34 #include "nativeInst_ppc.hpp"
35 #include "opto/runtime.hpp"
36 #include "runtime/interfaceSupport.hpp"
37 #include "runtime/sharedRuntime.hpp"
38 #include "runtime/stubRoutines.hpp"
39 #include "runtime/vframeArray.hpp"
40 #include "utilities/globalDefinitions.hpp"
41 #endif
42
43 #define __ masm->
44
45
46 #ifdef COMPILER2
47
48 //------------------------------generate_exception_blob---------------------------
49 // Creates exception blob at the end.
50 // Using exception blob, this code is jumped from a compiled method.
51 //
52 // Given an exception pc at a call we call into the runtime for the
53 // handler in this method. This handler might merely restore state
54 // (i.e. callee save registers) unwind the frame and jump to the
55 // exception handler for the nmethod if there is no Java level handler
56 // for the nmethod.
|
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #ifdef COMPILER2
28 #include "asm/macroAssembler.inline.hpp"
29 #include "classfile/systemDictionary.hpp"
30 #include "code/vmreg.hpp"
31 #include "interpreter/interpreter.hpp"
32 #include "interpreter/interp_masm.hpp"
33 #include "memory/resourceArea.hpp"
34 #include "nativeInst_ppc.hpp"
35 #include "opto/runtime.hpp"
36 #include "runtime/interfaceSupport.inline.hpp"
37 #include "runtime/sharedRuntime.hpp"
38 #include "runtime/stubRoutines.hpp"
39 #include "runtime/vframeArray.hpp"
40 #include "utilities/globalDefinitions.hpp"
41 #endif
42
43 #define __ masm->
44
45
46 #ifdef COMPILER2
47
48 //------------------------------generate_exception_blob---------------------------
49 // Creates exception blob at the end.
50 // Using exception blob, this code is jumped from a compiled method.
51 //
52 // Given an exception pc at a call we call into the runtime for the
53 // handler in this method. This handler might merely restore state
54 // (i.e. callee save registers) unwind the frame and jump to the
55 // exception handler for the nmethod if there is no Java level handler
56 // for the nmethod.
|