Mercurial > hg > truffle
comparison src/share/vm/opto/runtime.cpp @ 1295:3cf667df43ef
6919934: JSR 292 needs to support x86 C1
Summary: This implements JSR 292 support for C1 x86.
Reviewed-by: never, jrose, kvn
author | twisti |
---|---|
date | Tue, 09 Mar 2010 20:16:19 +0100 |
parents | 7b4415a18c8a |
children | 93767e6a2dfd |
comparison
equal
deleted
inserted
replaced
1293:51db1e4b379d | 1295:3cf667df43ef |
---|---|
862 | 862 |
863 thread->set_exception_pc(pc); | 863 thread->set_exception_pc(pc); |
864 thread->set_exception_handler_pc(handler_address); | 864 thread->set_exception_handler_pc(handler_address); |
865 thread->set_exception_stack_size(0); | 865 thread->set_exception_stack_size(0); |
866 | 866 |
867 // Check if the exception PC is a MethodHandle call. | 867 // Check if the exception PC is a MethodHandle call site. |
868 thread->set_is_method_handle_exception(nm->is_method_handle_return(pc)); | 868 thread->set_is_method_handle_exception(nm->is_method_handle_return(pc)); |
869 } | 869 } |
870 | 870 |
871 // Restore correct return pc. Was saved above. | 871 // Restore correct return pc. Was saved above. |
872 thread->set_exception_oop(exception()); | 872 thread->set_exception_oop(exception()); |
950 } | 950 } |
951 #endif | 951 #endif |
952 | 952 |
953 thread->set_vm_result(exception); | 953 thread->set_vm_result(exception); |
954 // Frame not compiled (handles deoptimization blob) | 954 // Frame not compiled (handles deoptimization blob) |
955 return SharedRuntime::raw_exception_handler_for_return_address(ret_pc); | 955 return SharedRuntime::raw_exception_handler_for_return_address(thread, ret_pc); |
956 } | 956 } |
957 | 957 |
958 | 958 |
959 const TypeFunc *OptoRuntime::rethrow_Type() { | 959 const TypeFunc *OptoRuntime::rethrow_Type() { |
960 // create input type (domain) | 960 // create input type (domain) |