Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciField.cpp Sat Nov 13 18:29:13 2010 +0100 +++ b/src/share/vm/ci/ciField.cpp Sat Nov 13 19:58:27 2010 +0100 @@ -307,6 +307,7 @@ // link errors? bool ciField::will_link_from_vm(ciInstanceKlass* accessing_klass, Bytecodes::Code bc) { + Thread* THREAD = Thread::current(); if (_offset == -1) { // at creation we couldn't link to our holder so we need to // maintain that stance, otherwise there's no safe way to use this