summaryrefslogtreecommitdiffstats
path: root/compiler/linker/relative_patcher_test.h
diff options
context:
space:
mode:
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);