summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-05-29 15:50:18 +0100
committer Vladimir Marko <vmarko@google.com> 2015-06-15 15:13:28 +0100
commitf38caa68cce551fb153dff37d01db518e58ed00f (patch)
tree723612f20666f429b7c67321f0353d57425b1c63 /compiler/utils/assembler_test.h
parentbd8c725e465cc7f44062745a6f2b73248f5159ed (diff)
ART: Implement literal pool for arm, fix branch fixup.
Change-Id: Iecc91418bb4ee1c957f42fefb737d0ee2ba960e7
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());