Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9649:dd62ccda1849
rename parameter
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 13 May 2013 10:50:22 +0200 |
parents | ae17e540c5d2 |
children | 18632807db02 |
comparison
equal
deleted
inserted
replaced
9639:fde5ccbab3a3 | 9649:dd62ccda1849 |
---|---|
604 field_array->obj_at_put(i, fields.at(i)()); | 604 field_array->obj_at_put(i, fields.at(i)()); |
605 } | 605 } |
606 return JNIHandles::make_local(field_array()); | 606 return JNIHandles::make_local(field_array()); |
607 C2V_END | 607 C2V_END |
608 | 608 |
609 C2V_VMENTRY(jlong, getMaxCallTargetOffset, (JNIEnv *env, jobject, jlong stub)) | 609 C2V_VMENTRY(jlong, getMaxCallTargetOffset, (JNIEnv *env, jobject, jlong addr)) |
610 address target_addr = (address) stub; | 610 address target_addr = (address) addr; |
611 if (target_addr != 0x0) { | 611 if (target_addr != 0x0) { |
612 int64_t off_low = (int64_t)target_addr - ((int64_t)CodeCache::low_bound() + sizeof(int)); | 612 int64_t off_low = (int64_t)target_addr - ((int64_t)CodeCache::low_bound() + sizeof(int)); |
613 int64_t off_high = (int64_t)target_addr - ((int64_t)CodeCache::high_bound() + sizeof(int)); | 613 int64_t off_high = (int64_t)target_addr - ((int64_t)CodeCache::high_bound() + sizeof(int)); |
614 return MAX2(ABS(off_low), ABS(off_high)); | 614 return MAX2(ABS(off_low), ABS(off_high)); |
615 } | 615 } |