diff options
author | Vladimir Marko <vmarko@google.com> | 2016-12-19 17:32:17 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2017-01-12 11:05:16 +0000 |
commit | afbd71ffbcc7b37067d3a4703648e62fc0e55e6f (patch) | |
tree | d2c194d57b794ee7281763cb41c8f52b9b2c7322 /compiler/optimizing/stack_map_test.cc | |
parent | 263cc99a5f7a2cc81094e18b08eaa66ceed3dd1b (diff) |
Refactor ClassLinker::LinkInterfaceMethods().
Add a helper class and split LinkInterfaceMethods() into
several functions to improve readability. Even with this
change, it is still almost 250 lines long.
Fix the method array reallocation to use the appropriate
linear allocator for the class's defining loader. Given that
this is a native reallocation, failure to reallocate would
result in an abort, so CHECK() that we get a non-null array
instead of expecting a null and asserting a pending OOME.
Test: m test-art-host
Change-Id: I8ff8257e4271ae8c975ea4b33fd8af36e1a1f77e
Diffstat (limited to 'compiler/optimizing/stack_map_test.cc')
0 files changed, 0 insertions, 0 deletions