Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 6521:2a0c9f20baa1
consolidated framework for runtime and stub calls and moved declaration of descriptors for such calls to the source file in which they are used
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 05 Oct 2012 17:55:12 +0200 |
parents | 921005bb0b45 |
children | fd71ca8c5f88 |
comparison
equal
deleted
inserted
replaced
6520:14d158886ce0 | 6521:2a0c9f20baa1 |
---|---|
1963 __ leave(); | 1963 __ leave(); |
1964 __ ret(0); | 1964 __ ret(0); |
1965 break; | 1965 break; |
1966 } | 1966 } |
1967 | 1967 |
1968 case graal_generic_callback_id: { | |
1969 __ enter(); | |
1970 oop_maps = new OopMapSet(); | |
1971 OopMap* oop_map = save_live_registers(sasm, 0); | |
1972 int call_offset = __ call_RT(rax, noreg, (address)graal_generic_callback, j_rarg0, j_rarg1); | |
1973 oop_maps->add_gc_map(call_offset, oop_map); | |
1974 __ leave(); | |
1975 __ ret(0); | |
1976 break; | |
1977 } | |
1978 | |
1979 case graal_verify_oop_id: { | 1968 case graal_verify_oop_id: { |
1980 // We use enter & leave so that a better stack trace is produced in the hs_err file | 1969 // We use enter & leave so that a better stack trace is produced in the hs_err file |
1981 __ enter(); | 1970 __ enter(); |
1982 __ verify_oop(r13, "graal verify oop"); | 1971 __ verify_oop(r13, "graal verify oop"); |
1983 __ leave(); | 1972 __ leave(); |