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

Side by Side 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: Minor tweak to use RawError instead of RawObject. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/growable_array.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_GLOBALS_H_ 5 #ifndef VM_GLOBALS_H_
6 #define VM_GLOBALS_H_ 6 #define VM_GLOBALS_H_
7 7
8 // This file contains global definitions for the VM library only. Anything that 8 // This file contains global definitions for the VM library only. Anything that
9 // is more globally useful should be added to 'vm/globals.h'. 9 // is more globally useful should be added to 'vm/globals.h'.
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 64
65 // When using GCC we can use GCC attributes to ensure that certain 65 // When using GCC we can use GCC attributes to ensure that certain
66 // contants are 16 byte aligned. 66 // contants are 16 byte aligned.
67 #if defined(TARGET_OS_WINDOWS) 67 #if defined(TARGET_OS_WINDOWS)
68 #define ALIGN16 __declspec(align(16)) 68 #define ALIGN16 __declspec(align(16))
69 #else 69 #else
70 #define ALIGN16 __attribute__((aligned(16))) 70 #define ALIGN16 __attribute__((aligned(16)))
71 #endif 71 #endif
72 72
73
74 // Zap value used to indicate uninitialized handle area (debug purposes).
75 #if defined(ARCH_IS_32_BIT)
76 static const uword kZapUninitializedWord = 0xabababab;
77 #else
78 static const uword kZapUninitializedWord = 0xabababababababab;
79 #endif
80
81
73 } // namespace dart 82 } // namespace dart
74 83
75 #endif // VM_GLOBALS_H_ 84 #endif // VM_GLOBALS_H_
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_state.h ('k') | runtime/vm/growable_array.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698