summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-06-16 11:33:24 +0000
committer Vladimir Marko <vmarko@google.com> 2015-06-17 09:43:51 +0100
commitcf93a5cd9c978f59113d42f9f642fab5e2cc8877 (patch)
tree55162627fcbf2cb7913a735c7ed89e8e4b5e84d7 /compiler/utils/assembler_test.h
parentdb40ea768bd914125c3754dacb9b6f534a2e2399 (diff)
Revert "Revert "ART: Implement literal pool for arm, fix branch fixup.""
This reverts commit fbeb4aede0ddc5b1e6a5a3a40cc6266fe8518c98. Adjust block label positions. Bad catch block labels were the reason for the revert. Change-Id: Ia6950d639d46b9da6b07f3ade63ab46d03d63310
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());