Mercurial > hg > truffle
comparison src/share/vm/code/vtableStubs.cpp @ 12264:b2e698d2276c
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
Summary: Enhance method resolution and resulting data structures, plus some refactoring.
Reviewed-by: twisti, acorn, jrose
author | drchase |
---|---|
date | Fri, 13 Sep 2013 22:38:02 -0400 |
parents | 9758d9f36299 |
children | 891687731b59 |
comparison
equal
deleted
inserted
replaced
12261:2c98370f2611 | 12264:b2e698d2276c |
---|---|
109 } | 109 } |
110 } | 110 } |
111 } | 111 } |
112 | 112 |
113 | 113 |
114 address VtableStubs::create_stub(bool is_vtable_stub, int vtable_index, Method* method) { | 114 address VtableStubs::find_stub(bool is_vtable_stub, int vtable_index) { |
115 assert(vtable_index >= 0, "must be positive"); | 115 assert(vtable_index >= 0, "must be positive"); |
116 | 116 |
117 VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL; | 117 VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL; |
118 if (s == NULL) { | 118 if (s == NULL) { |
119 if (is_vtable_stub) { | 119 if (is_vtable_stub) { |