Index: runtime/platform/assert.h |
diff --git a/runtime/vm/assert.h b/runtime/platform/assert.h |
similarity index 98% |
rename from runtime/vm/assert.h |
rename to runtime/platform/assert.h |
index 2e7eba5d7b838ded3663a24ffc13db36cf064128..aa4b39e16949f446e743676ceed19a060526d53f 100644 |
--- a/runtime/vm/assert.h |
+++ b/runtime/platform/assert.h |
@@ -2,8 +2,8 @@ |
// 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. |
-#ifndef VM_ASSERT_H_ |
-#define VM_ASSERT_H_ |
+#ifndef PLATFORM_ASSERT_H_ |
+#define PLATFORM_ASSERT_H_ |
// TODO(5411406): include sstream for now, once we have a Utils::toString() |
// implemented for all the primitive types we can replace the usage of |
@@ -13,7 +13,7 @@ |
#include <string> |
#endif |
-#include "vm/globals.h" |
+#include "platform/globals.h" |
#if !defined(DEBUG) && !defined(NDEBUG) |
#error neither DEBUG nor NDEBUG defined |
@@ -293,4 +293,4 @@ void DynamicAssertionHelper::GreaterEqual(const E& left, const A& right) { |
#define WARN2(format, p1, p2) \ |
dart::Expect(__FILE__, __LINE__).Fail(format, (p1), (p2)) |
-#endif // VM_ASSERT_H_ |
+#endif // PLATFORM_ASSERT_H_ |