Fix ART build issues.
- Use ATTRIBUTE_UNUSED to avoid a warning about an unused
argument in compiler/optimizing/nodes.h instead of
simply commenting it out.
- Disable run test 002-sleep on ARM64.
Change-Id: I96911904289b73611e0fc168e7b597a9a2df8141
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index d7069ca..376e740 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -1776,7 +1776,7 @@
Primitive::Type GetResultType() const { return GetType(); }
bool CanBeMoved() const OVERRIDE { return true; }
- bool InstructionDataEquals(HInstruction* /* other */) const OVERRIDE { return true; }
+ bool InstructionDataEquals(HInstruction* other ATTRIBUTE_UNUSED) const OVERRIDE { return true; }
DECLARE_INSTRUCTION(TypeConversion);
diff --git a/test/Android.run-test.mk b/test/Android.run-test.mk
index 69286cc..7d56271 100644
--- a/test/Android.run-test.mk
+++ b/test/Android.run-test.mk
@@ -308,6 +308,7 @@
# Known broken tests for the arm64 optimizing compiler backend.
TEST_ART_BROKEN_OPTIMIZING_ARM64_RUN_TESTS := \
001-HelloWorld \
+ 002-sleep \
003-omnibus-opcodes \
004-InterfaceTest \
004-JniTest \