Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_Compiler.cpp @ 1449:8cfe3537a0d3
Pointer verification stub. Two loose oop fixes in C1X C++ part. Logging which methods have been compiled.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 11 Nov 2010 14:09:37 +0100 |
parents | 1b7acf75f900 |
children | 9b22e3e5df8e |
comparison
equal
deleted
inserted
replaced
1445:a7b84a5e16c6 | 1449:8cfe3537a0d3 |
---|---|
96 return VMExits::createRiTypeUnresolved(VmIds::toString<Handle>(name, THREAD), VmIds::add<klassOop>(accessor), THREAD); | 96 return VMExits::createRiTypeUnresolved(VmIds::toString<Handle>(name, THREAD), VmIds::add<klassOop>(accessor), THREAD); |
97 } | 97 } |
98 } | 98 } |
99 | 99 |
100 oop C1XCompiler::get_RiField(ciField *field, klassOop accessor, TRAPS) { | 100 oop C1XCompiler::get_RiField(ciField *field, klassOop accessor, TRAPS) { |
101 oop field_holder = get_RiType(field->holder(), accessor, CHECK_0); | 101 Handle field_holder = get_RiType(field->holder(), accessor, CHECK_0); |
102 oop field_type = get_RiType(field->type(), accessor, CHECK_0); | 102 Handle field_type = get_RiType(field->type(), accessor, CHECK_0); |
103 Handle field_name = VmIds::toString<Handle>(field->name()->get_symbolOop(), CHECK_0); | 103 Handle field_name = VmIds::toString<Handle>(field->name()->get_symbolOop(), CHECK_0); |
104 int offset = field->holder()->is_loaded() ? field->offset() : -1; | 104 int offset = field->holder()->is_loaded() ? field->offset() : -1; |
105 | 105 |
106 // TODO: implement caching | 106 // TODO: implement caching |
107 return VMExits::createRiField(field_holder, field_name, field_type, offset, THREAD); | 107 return VMExits::createRiField(field_holder, field_name, field_type, offset, THREAD); |