Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_Runtime1_x86.cpp @ 3899:c124e2e7463e
7083786: dead various dead chunks of code
Reviewed-by: iveresov, kvn
author | never |
---|---|
date | Wed, 31 Aug 2011 16:46:11 -0700 |
parents | 09f96c3ff1ad |
children | cec1757a0134 |
comparison
equal
deleted
inserted
replaced
3898:a64d352d1118 | 3899:c124e2e7463e |
---|---|
1463 // we should set up register map | 1463 // we should set up register map |
1464 oop_maps = generate_patching(sasm, CAST_FROM_FN_PTR(address, move_klass_patching)); | 1464 oop_maps = generate_patching(sasm, CAST_FROM_FN_PTR(address, move_klass_patching)); |
1465 } | 1465 } |
1466 break; | 1466 break; |
1467 | 1467 |
1468 case jvmti_exception_throw_id: | |
1469 { // rax,: exception oop | |
1470 StubFrame f(sasm, "jvmti_exception_throw", dont_gc_arguments); | |
1471 // Preserve all registers across this potentially blocking call | |
1472 const int num_rt_args = 2; // thread, exception oop | |
1473 OopMap* map = save_live_registers(sasm, num_rt_args); | |
1474 int call_offset = __ call_RT(noreg, noreg, CAST_FROM_FN_PTR(address, Runtime1::post_jvmti_exception_throw), rax); | |
1475 oop_maps = new OopMapSet(); | |
1476 oop_maps->add_gc_map(call_offset, map); | |
1477 restore_live_registers(sasm); | |
1478 } | |
1479 break; | |
1480 | |
1481 case dtrace_object_alloc_id: | 1468 case dtrace_object_alloc_id: |
1482 { // rax,: object | 1469 { // rax,: object |
1483 StubFrame f(sasm, "dtrace_object_alloc", dont_gc_arguments); | 1470 StubFrame f(sasm, "dtrace_object_alloc", dont_gc_arguments); |
1484 // we can't gc here so skip the oopmap but make sure that all | 1471 // we can't gc here so skip the oopmap but make sure that all |
1485 // the live registers get saved. | 1472 // the live registers get saved. |