comparison src/share/vm/ci/ciField.cpp @ 1461:944071972cd9

Small fix.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Sat, 13 Nov 2010 19:58:27 +0100
parents a8f9f091c219
children 2d26b0046e0d
comparison
equal deleted inserted replaced
1460:1ffaf7819f91 1461:944071972cd9
305 // 305 //
306 // Can a specific access to this field be made without causing 306 // Can a specific access to this field be made without causing
307 // link errors? 307 // link errors?
308 bool ciField::will_link_from_vm(ciInstanceKlass* accessing_klass, 308 bool ciField::will_link_from_vm(ciInstanceKlass* accessing_klass,
309 Bytecodes::Code bc) { 309 Bytecodes::Code bc) {
310 Thread* THREAD = Thread::current();
310 if (_offset == -1) { 311 if (_offset == -1) {
311 // at creation we couldn't link to our holder so we need to 312 // at creation we couldn't link to our holder so we need to
312 // maintain that stance, otherwise there's no safe way to use this 313 // maintain that stance, otherwise there's no safe way to use this
313 // ciField. 314 // ciField.
314 return false; 315 return false;