From a75b01a549f0c86669dd24e53c9e3e74f0bf5b40 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 18 Aug 2016 13:45:24 -0700 Subject: Fix building tests with partial arch codegen support Add conditionals around more code that is only used for codegen for specific architectures, and move a few more files into the architecture-specific codegen lists. Tests: ART_HOST_CODEGEN_ARCHS="x86_64 mips" m -j ART_TARGET_CODEGEN_ARCHS=svelte test-art-host Bug: 30928847 Change-Id: I0444d15e1cafe4c9b13ff78718c3b13b544270e7 --- compiler/utils/jni_macro_assembler.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/utils/jni_macro_assembler.cc') diff --git a/compiler/utils/jni_macro_assembler.cc b/compiler/utils/jni_macro_assembler.cc index 797a98cfd5..1b743134ed 100644 --- a/compiler/utils/jni_macro_assembler.cc +++ b/compiler/utils/jni_macro_assembler.cc @@ -99,6 +99,7 @@ MacroAsm64UniquePtr JNIMacroAssembler::Create( return MacroAsm64UniquePtr(new (arena) x86_64::X86_64JNIMacroAssembler(arena)); #endif default: + UNUSED(arena); LOG(FATAL) << "Unknown/unsupported 8B InstructionSet: " << instruction_set; UNREACHABLE(); } -- cgit v1.2.3-59-g8ed1b