Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 3558:bc95d122df79
added runtime call to supply info upon deoptimization
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 24 Aug 2011 17:40:12 +0200 |
parents | e4616e3d207b |
children | 6c04a4f268e5 |
comparison
equal
deleted
inserted
replaced
3557:b2cd623a93ad | 3558:bc95d122df79 |
---|---|
1919 generate_unwind_exception(sasm); | 1919 generate_unwind_exception(sasm); |
1920 __ should_not_reach_here(); | 1920 __ should_not_reach_here(); |
1921 break; | 1921 break; |
1922 } | 1922 } |
1923 | 1923 |
1924 case graal_set_deopt_info_id: { | |
1925 __ movptr(Address(r15_thread, JavaThread::graal_deopt_info_offset()), rscratch1); | |
1926 __ ret(0); | |
1927 break; | |
1928 } | |
1929 | |
1924 case graal_create_null_pointer_exception_id: { | 1930 case graal_create_null_pointer_exception_id: { |
1925 __ enter(); | 1931 __ enter(); |
1926 oop_maps = new OopMapSet(); | 1932 oop_maps = new OopMapSet(); |
1927 OopMap* oop_map = save_live_registers(sasm, 0); | 1933 OopMap* oop_map = save_live_registers(sasm, 0); |
1928 int call_offset = __ call_RT(rax, noreg, (address)graal_create_null_exception, 0); | 1934 int call_offset = __ call_RT(rax, noreg, (address)graal_create_null_exception, 0); |