Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/output.cpp @ 3650:0e8a2a629afb
Pass-by compilation broker.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 21:27:28 +0100 |
parents | 7523488edce5 |
children | 04b9a2566eec |
comparison
equal
deleted
inserted
replaced
3649:5a8c44b5fb80 | 3650:0e8a2a629afb |
---|---|
932 ciMethod* scope_method = method ? method : _method; | 932 ciMethod* scope_method = method ? method : _method; |
933 // Describe the scope here | 933 // Describe the scope here |
934 assert(jvms->bci() >= InvocationEntryBci && jvms->bci() <= 0x10000, "must be a valid or entry BCI"); | 934 assert(jvms->bci() >= InvocationEntryBci && jvms->bci() <= 0x10000, "must be a valid or entry BCI"); |
935 assert(!jvms->should_reexecute() || depth == max_depth, "reexecute allowed only for the youngest"); | 935 assert(!jvms->should_reexecute() || depth == max_depth, "reexecute allowed only for the youngest"); |
936 // Now we can describe the scope. | 936 // Now we can describe the scope. |
937 debug_info()->describe_scope(safepoint_pc_offset, scope_method, jvms->bci(), jvms->should_reexecute(), is_method_handle_invoke, return_oop, locvals, expvals, monvals); | 937 debug_info()->describe_scope(safepoint_pc_offset, (methodOop)scope_method->get_oop(), jvms->bci(), jvms->should_reexecute(), is_method_handle_invoke, return_oop, locvals, expvals, monvals); |
938 } // End jvms loop | 938 } // End jvms loop |
939 | 939 |
940 // Mark the end of the scope set. | 940 // Mark the end of the scope set. |
941 debug_info()->end_safepoint(safepoint_pc_offset); | 941 debug_info()->end_safepoint(safepoint_pc_offset); |
942 } | 942 } |
1015 // Visit scopes from oldest to youngest. | 1015 // Visit scopes from oldest to youngest. |
1016 for (int depth = 1; depth <= max_depth; depth++) { | 1016 for (int depth = 1; depth <= max_depth; depth++) { |
1017 JVMState* jvms = youngest_jvms->of_depth(depth); | 1017 JVMState* jvms = youngest_jvms->of_depth(depth); |
1018 ciMethod* method = jvms->has_method() ? jvms->method() : NULL; | 1018 ciMethod* method = jvms->has_method() ? jvms->method() : NULL; |
1019 assert(!jvms->should_reexecute() || depth==max_depth, "reexecute allowed only for the youngest"); | 1019 assert(!jvms->should_reexecute() || depth==max_depth, "reexecute allowed only for the youngest"); |
1020 debug_info->describe_scope(pc_offset, method, jvms->bci(), jvms->should_reexecute()); | 1020 debug_info->describe_scope(pc_offset, (methodOop)method->get_oop(), jvms->bci(), jvms->should_reexecute()); |
1021 } | 1021 } |
1022 | 1022 |
1023 // Mark the end of the scope set. | 1023 // Mark the end of the scope set. |
1024 debug_info->end_non_safepoint(pc_offset); | 1024 debug_info->end_non_safepoint(pc_offset); |
1025 } | 1025 } |