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

Unified Diff: runtime/vm/code_generator_test.cc

Issue 246293010: Enables first codegen test on arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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
Index: runtime/vm/code_generator_test.cc
===================================================================
--- runtime/vm/code_generator_test.cc (revision 35264)
+++ runtime/vm/code_generator_test.cc (working copy)
@@ -2,9 +2,7 @@
// 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.
-// TODO(zra): Remove when tests are ready to enable.
#include "platform/globals.h"
-#if !defined(TARGET_ARCH_ARM64)
#include "platform/assert.h"
#include "vm/globals.h"
@@ -30,6 +28,8 @@
}
CODEGEN_TEST_RUN(SimpleReturnCodegen, Instance::null())
+// TODO(zra): Remove when tests are ready to enable.
+#if !defined(TARGET_ARCH_ARM64)
CODEGEN_TEST_GENERATE(SmiReturnCodegen, test) {
LiteralNode* l = new LiteralNode(kPos, Smi::ZoneHandle(Smi::New(3)));
@@ -569,6 +569,6 @@
EXPECT_EQ(cls.raw(), result.clazz());
}
+#endif // !defined(TARGET_ARCH_ARM64)
+
} // namespace dart
-
-#endif // !defined(TARGET_ARCH_ARM64)

Powered by Google App Engine
This is Rietveld 408576698