summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-06-17 08:45:51 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-17 08:45:52 +0000
commit088bd0d28acb70302d20f6e19a9db7f0536c09ee (patch)
treef1c8201a5704b984569b839695a50b9423247ae7 /compiler/utils/assembler_test.h
parentb3daa2312747eaf852c948c189ca0745db116447 (diff)
parentcf93a5cd9c978f59113d42f9f642fab5e2cc8877 (diff)
Merge "Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."""
Diffstat (limited to 'compiler/utils/assembler_test.h')
-rw-r--r--compiler/utils/assembler_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/assembler_test.h b/compiler/utils/assembler_test.h
index a339633efe..017402dbd3 100644
--- a/compiler/utils/assembler_test.h
+++ b/compiler/utils/assembler_test.h
@@ -544,6 +544,7 @@ class AssemblerTest : public testing::Test {
}
void DriverWrapper(std::string assembly_text, std::string test_name) {
+ assembler_->FinalizeCode();
size_t cs = assembler_->CodeSize();
std::unique_ptr<std::vector<uint8_t>> data(new std::vector<uint8_t>(cs));
MemoryRegion code(&(*data)[0], data->size());