comparison src/share/vm/opto/runtime.cpp @ 5125:4a1894e1cfc7

fixed C2 compilation error
author Christian Haeubl <christian.haeubl@oracle.com>
date Tue, 20 Mar 2012 12:16:14 -0700
parents 7e0e43cf86d6
children 957c266d8bc5
comparison
equal deleted inserted replaced
5124:837a304d0ca8 5125:4a1894e1cfc7
1147 frame stub_frame = thread->last_frame(); 1147 frame stub_frame = thread->last_frame();
1148 assert(stub_frame.is_runtime_frame() || exception_blob()->contains(stub_frame.pc()), "sanity check"); 1148 assert(stub_frame.is_runtime_frame() || exception_blob()->contains(stub_frame.pc()), "sanity check");
1149 frame caller_frame = stub_frame.sender(&reg_map); 1149 frame caller_frame = stub_frame.sender(&reg_map);
1150 1150
1151 // Deoptimize the caller frame. 1151 // Deoptimize the caller frame.
1152 Deoptimization::deoptimize_frame(thread, caller_frame.id()); 1152 Deoptimization::deoptimize_frame(thread, caller_frame.id(), Deoptimization::Reason_constraint);
1153 } 1153 }
1154 } 1154 }
1155 1155
1156 1156
1157 bool OptoRuntime::is_deoptimized_caller_frame(JavaThread *thread) { 1157 bool OptoRuntime::is_deoptimized_caller_frame(JavaThread *thread) {