summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-06-16 09:06:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-16 09:07:00 +0000
commite4394f7de28ae0b517daa033749979e46ff676ab (patch)
tree320596587f320a0becda91cfe4fa72c8052fb90a /compiler/utils/assembler_test.h
parentf6c77d7632bdfe564c2ba61690fecc65f10ea9f6 (diff)
parentf38caa68cce551fb153dff37d01db518e58ed00f (diff)
Merge "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());