diff options
author | 2015-12-17 19:02:47 +0000 | |
---|---|---|
committer | 2015-12-17 19:02:47 +0000 | |
commit | db2980ae9eca19a577df27b1f05912ed482fb88c (patch) | |
tree | f34df405cf1a6762ea2326edfc8d6d0128439969 /runtime/arch/arch_test.cc | |
parent | bb88f60af2260cca9f5433a02b30bc0f6edea076 (diff) | |
parent | fae1db92d8433d0f75258c190bcf2c940731f036 (diff) |
Merge "ART: Refactor CommonRuntimeTest::SetUp"
am: fae1db92d8
* commit 'fae1db92d8433d0f75258c190bcf2c940731f036':
ART: Refactor CommonRuntimeTest::SetUp
Diffstat (limited to 'runtime/arch/arch_test.cc')
-rw-r--r-- | runtime/arch/arch_test.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/arch/arch_test.cc b/runtime/arch/arch_test.cc index d6ba304bd1..1680bbda1e 100644 --- a/runtime/arch/arch_test.cc +++ b/runtime/arch/arch_test.cc @@ -30,6 +30,13 @@ class ArchTest : public CommonRuntimeTest { options->push_back(std::make_pair("imageinstructionset", "x86_64")); } + // Do not do any of the finalization. We don't want to run any code, we don't need the heap + // prepared, it actually will be a problem with setting the instruction set to x86_64 in + // SetUpRuntimeOptions. + void FinalizeSetup() OVERRIDE { + ASSERT_EQ(InstructionSet::kX86_64, Runtime::Current()->GetInstructionSet()); + } + static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size) NO_THREAD_SAFETY_ANALYSIS { Runtime* const runtime = Runtime::Current(); |