Index: runtime/vm/unit_test.cc |
=================================================================== |
--- runtime/vm/unit_test.cc (revision 34648) |
+++ runtime/vm/unit_test.cc (working copy) |
@@ -2,13 +2,14 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+#include "vm/unit_test.h" |
+ |
#include <stdio.h> |
-#include "vm/unit_test.h" |
- |
#include "bin/builtin.h" |
#include "bin/dartutils.h" |
+#include "platform/globals.h" |
#include "vm/assembler.h" |
#include "vm/ast_printer.h" |
#include "vm/compiler.h" |
@@ -25,7 +26,6 @@ |
DECLARE_FLAG(bool, disassemble); |
- |
TestCaseBase* TestCaseBase::first_ = NULL; |
TestCaseBase* TestCaseBase::tail_ = NULL; |
@@ -48,6 +48,8 @@ |
} |
} |
+// TODO(zra): Remove when tests that need these functions are ready to enable. |
+#if !defined(TARGET_ARCH_ARM64) |
static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, |
Dart_Handle library, |
@@ -142,6 +144,7 @@ |
return Api::Success(); |
} |
+#endif |
void AssemblerTest::Assemble() { |
const String& function_name = String::ZoneHandle(Symbols::New(name_)); |
@@ -166,6 +169,9 @@ |
} |
+// TODO(zra): Remove once supported. |
+#if !defined(TARGET_ARCH_ARM64) |
+ |
CodeGenTest::CodeGenTest(const char* name) |
: function_(Function::ZoneHandle()), |
node_sequence_(new SequenceNode(Scanner::kNoSourcePos, |
@@ -233,4 +239,6 @@ |
return error.IsNull(); |
} |
+#endif // !defined(TARGET_ARCH_ARM64) |
+ |
} // namespace dart |