Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/graalRuntime_x86.cpp @ 9594:743326387173
replaced vm_error assembler stub with compiled stub (GRAAL-81)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 07 May 2013 01:38:07 +0200 |
parents | a3b4bcc22313 |
children | db2125285960 |
comparison
equal
deleted
inserted
replaced
9593:a3b4bcc22313 | 9594:743326387173 |
---|---|
586 | 586 |
587 // stub code & info for the different stubs | 587 // stub code & info for the different stubs |
588 OopMapSet* oop_maps = NULL; | 588 OopMapSet* oop_maps = NULL; |
589 switch (id) { | 589 switch (id) { |
590 | 590 |
591 case vm_error_id: { | |
592 __ enter(); | |
593 oop_maps = new OopMapSet(); | |
594 OopMap* oop_map = save_live_registers(sasm, 3); | |
595 int call_offset = __ call_RT(noreg, noreg, (address)vm_error, j_rarg0, j_rarg1, j_rarg2); | |
596 oop_maps->add_gc_map(call_offset, oop_map); | |
597 restore_live_registers(sasm); | |
598 __ leave(); | |
599 __ ret(0); | |
600 break; | |
601 } | |
602 | |
603 case wb_pre_call_id: { | 591 case wb_pre_call_id: { |
604 Register obj = j_rarg0; | 592 Register obj = j_rarg0; |
605 { | 593 { |
606 GraalStubFrame f(sasm, "graal_wb_pre_call", dont_gc_arguments); | 594 GraalStubFrame f(sasm, "graal_wb_pre_call", dont_gc_arguments); |
607 OopMap* map = save_live_registers(sasm, 2, save_fpu_registers); | 595 OopMap* map = save_live_registers(sasm, 2, save_fpu_registers); |