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

Unified Diff: runtime/vm/globals.h

Issue 11028145: Changed StackZone and ApiZone to be containers for Zone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reworked ApiScope unwinding. Created 8 years, 2 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/globals.h
diff --git a/runtime/vm/globals.h b/runtime/vm/globals.h
index 66f508b275735d808ff971816c34f1d72a6e8dac..7a02b87f6e6861a3a0c0f586a494704765b79d76 100644
--- a/runtime/vm/globals.h
+++ b/runtime/vm/globals.h
@@ -70,6 +70,15 @@ typedef uword cpp_vtable;
#define ALIGN16 __attribute__((aligned(16)))
#endif
+
+// Zap value used to indicate uninitialized handle area (debug purposes).
+#if defined(ARCH_IS_32_BIT)
+static const uword kZapUninitializedWord = 0xabababab;
+#else
+static const uword kZapUninitializedWord = 0xabababababababab;
+#endif
+
+
} // namespace dart
#endif // VM_GLOBALS_H_

Powered by Google App Engine
This is Rietveld 408576698