summaryrefslogtreecommitdiff
path: root/compiler/linker/relative_patcher_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-04-02 19:51:49 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-04-02 19:51:49 +0000
commit3795e94a8bd42a1de3a98935f45399f1805a9f6e (patch)
tree8e87fa800ee73791d70e5c2cad87ea8dc09deab6 /compiler/linker/relative_patcher_test.h
parent93c65adb3d7bd1d3815715df433d185219045230 (diff)
parent71b0ddf988208c9f77e7d2c1e75066cc3fe20c61 (diff)
Merge "Split RelativePatcher::ReserveSpace() into two."
Diffstat (limited to 'compiler/linker/relative_patcher_test.h')
-rw-r--r--compiler/linker/relative_patcher_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/linker/relative_patcher_test.h b/compiler/linker/relative_patcher_test.h
index dede42e71a..08167b3309 100644
--- a/compiler/linker/relative_patcher_test.h
+++ b/compiler/linker/relative_patcher_test.h
@@ -98,7 +98,7 @@ class RelativePatcherTest : public testing::Test {
method_offset_map_.map.Put(compiled_method_refs_[idx], quick_code_offset);
++idx;
}
- offset = patcher_->ReserveSpace(offset, nullptr, MethodReference(nullptr, 0u));
+ offset = patcher_->ReserveSpaceEnd(offset);
uint32_t output_size = offset;
output_.reserve(output_size);