Mercurial > hg > graal-jvmci-8
diff src/share/vm/ci/ciField.cpp @ 4977:532be189cf09
Reducing diff to hsx24
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 17:06:18 +0100 |
parents | be4ca325525a |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciField.cpp Mon Feb 27 16:26:41 2012 +0100 +++ b/src/share/vm/ci/ciField.cpp Mon Feb 27 17:06:18 2012 +0100 @@ -306,20 +306,15 @@ return type; } -bool ciField::will_link(ciInstanceKlass* accessing_klass, - Bytecodes::Code bc) { - VM_ENTRY_MARK; - return will_link_from_vm(accessing_klass, bc); -} // ------------------------------------------------------------------ // ciField::will_link // // Can a specific access to this field be made without causing // link errors? -bool ciField::will_link_from_vm(ciInstanceKlass* accessing_klass, +bool ciField::will_link(ciInstanceKlass* accessing_klass, Bytecodes::Code bc) { - Thread* THREAD = Thread::current(); + VM_ENTRY_MARK; 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