Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_CodeInstaller.cpp @ 2054:3c0a889a176b
Added GC stats. Enabling intrinsics.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 12 Jan 2011 19:14:32 +0100 |
parents | b6d2c238e585 |
children | 9508a52cbd32 |
comparison
equal
deleted
inserted
replaced
2053:0db8c8cc5b4a | 2054:3c0a889a176b |
---|---|
518 TRACE_C1X_3("CiRuntimeCall::ArithmeticFrem()"); | 518 TRACE_C1X_3("CiRuntimeCall::ArithmeticFrem()"); |
519 } else if (runtime_call == CiRuntimeCall::ArithmeticDrem()) { | 519 } else if (runtime_call == CiRuntimeCall::ArithmeticDrem()) { |
520 call->set_destination(Runtime1::entry_for(Runtime1::c1x_arithmetic_drem_id)); | 520 call->set_destination(Runtime1::entry_for(Runtime1::c1x_arithmetic_drem_id)); |
521 _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); | 521 _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); |
522 TRACE_C1X_3("CiRuntimeCall::ArithmeticDrem()"); | 522 TRACE_C1X_3("CiRuntimeCall::ArithmeticDrem()"); |
523 } else if (runtime_call == CiRuntimeCall::RegisterFinalizer()) { | |
524 call->set_destination(Runtime1::entry_for(Runtime1::register_finalizer_id)); | |
525 _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand); | |
523 } else { | 526 } else { |
524 TRACE_C1X_1("runtime_call not implemented: "); | 527 runtime_call->print(); |
525 IF_TRACE_C1X_1 runtime_call->print(); | 528 fatal("runtime_call not implemented"); |
526 } | 529 } |
527 } else if (global_stub != NULL) { | 530 } else if (global_stub != NULL) { |
528 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset); | 531 NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset); |
529 assert(java_lang_boxing_object::is_instance(global_stub, T_LONG), "global_stub needs to be of type Long"); | 532 assert(java_lang_boxing_object::is_instance(global_stub, T_LONG), "global_stub needs to be of type Long"); |
530 | 533 |