Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: runtime/vm/unit_test.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/unit_test.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « runtime/vm/unit_test.h ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698