summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2017-03-16 19:56:10 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2017-03-16 19:56:10 +0000
commited883a11b8cd7f3712bd30fca1e2b0fb641bff63 (patch)
treeb13ca4ec329595953d3aa3b04b0323f2dee173ca /compiler/exception_test.cc
parentf0502d990265253992a54567bcd3ce5c8aa0ce59 (diff)
parentcbcedbf9382bc773713cd3552ed96f417bf1daeb (diff)
Merge "Add method info to oat files"
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc
index eac46e5909..c975944a04 100644
--- a/compiler/exception_test.cc
+++ b/compiler/exception_test.cc
@@ -74,8 +74,8 @@ class ExceptionTest : public CommonRuntimeTest {
fake_header_code_and_maps_.resize(stack_maps_offset + fake_code_.size());
MemoryRegion stack_maps_region(&fake_header_code_and_maps_[0], stack_maps_size);
- stack_maps.FillIn(stack_maps_region);
- OatQuickMethodHeader method_header(stack_maps_offset, 4 * sizeof(void*), 0u, 0u, code_size);
+ stack_maps.FillInCodeInfo(stack_maps_region);
+ OatQuickMethodHeader method_header(stack_maps_offset, 0u, 4 * sizeof(void*), 0u, 0u, code_size);
memcpy(&fake_header_code_and_maps_[stack_maps_size], &method_header, sizeof(method_header));
std::copy(fake_code_.begin(),
fake_code_.end(),