Mercurial > hg > truffle
comparison src/cpu/x86/vm/sharedRuntime_x86_64.cpp @ 4985:0d2a2797a61f
2 more #ifdef GRAAL
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 23:36:29 +0100 |
parents | 5c41e7002923 |
children | 897b7d18bebc |
comparison
equal
deleted
inserted
replaced
4984:5c41e7002923 | 4985:0d2a2797a61f |
---|---|
3058 // find any register it might need. | 3058 // find any register it might need. |
3059 oop_maps->add_gc_map(__ pc() - start, map); | 3059 oop_maps->add_gc_map(__ pc() - start, map); |
3060 | 3060 |
3061 __ reset_last_Java_frame(false, false); | 3061 __ reset_last_Java_frame(false, false); |
3062 | 3062 |
3063 #ifdef GRAAL | |
3063 __ bind(after_fetch_unroll_info_call); | 3064 __ bind(after_fetch_unroll_info_call); |
3065 #endif | |
3064 | 3066 |
3065 // Load UnrollBlock* into rdi | 3067 // Load UnrollBlock* into rdi |
3066 __ mov(rdi, rax); | 3068 __ mov(rdi, rax); |
3067 | 3069 |
3068 Label noException; | 3070 Label noException; |
3229 // Make sure all code is generated | 3231 // Make sure all code is generated |
3230 masm->flush(); | 3232 masm->flush(); |
3231 | 3233 |
3232 _deopt_blob = DeoptimizationBlob::create(&buffer, oop_maps, 0, exception_offset, reexecute_offset, frame_size_in_words); | 3234 _deopt_blob = DeoptimizationBlob::create(&buffer, oop_maps, 0, exception_offset, reexecute_offset, frame_size_in_words); |
3233 _deopt_blob->set_unpack_with_exception_in_tls_offset(exception_in_tls_offset); | 3235 _deopt_blob->set_unpack_with_exception_in_tls_offset(exception_in_tls_offset); |
3236 #ifdef GRAAL | |
3234 _deopt_blob->set_uncommon_trap_offset(uncommon_trap_offset); | 3237 _deopt_blob->set_uncommon_trap_offset(uncommon_trap_offset); |
3235 _deopt_blob->set_jmp_uncommon_trap_offset(jmp_uncommon_trap_offset); | 3238 _deopt_blob->set_jmp_uncommon_trap_offset(jmp_uncommon_trap_offset); |
3239 #endif | |
3236 } | 3240 } |
3237 | 3241 |
3238 #ifdef COMPILER2 | 3242 #ifdef COMPILER2 |
3239 //------------------------------generate_uncommon_trap_blob-------------------- | 3243 //------------------------------generate_uncommon_trap_blob-------------------- |
3240 void SharedRuntime::generate_uncommon_trap_blob() { | 3244 void SharedRuntime::generate_uncommon_trap_blob() { |