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

Unified Diff: runtime/platform/assert.h

Issue 9189003: Move assert.h/assert.cc from runtime/vm to runtime/platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check for correct rebase Created 8 years, 11 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/lib/regexp_jsc.cc ('k') | runtime/platform/assert.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0bfd8eef4c2f3d935c1d9196f4c8894ab207ff33 100644
--- a/runtime/vm/assert.h
+++ b/runtime/platform/assert.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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_
« no previous file with comments | « runtime/lib/regexp_jsc.cc ('k') | runtime/platform/assert.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698