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

Side by Side Diff: src/v8.h

Issue 12729023: first step to remove unsafe handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: issue with debug build Created 7 years, 7 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 | « src/runtime.cc ('k') | test/cctest/cctest.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 30 matching lines...) Expand all
41 #undef NDEBUG 41 #undef NDEBUG
42 #endif 42 #endif
43 #endif // defined(GOOGLE3) 43 #endif // defined(GOOGLE3)
44 44
45 // V8 only uses DEBUG, but included external files 45 // V8 only uses DEBUG, but included external files
46 // may use NDEBUG - make sure they are consistent. 46 // may use NDEBUG - make sure they are consistent.
47 #if defined(DEBUG) && defined(NDEBUG) 47 #if defined(DEBUG) && defined(NDEBUG)
48 #error both DEBUG and NDEBUG are set 48 #error both DEBUG and NDEBUG are set
49 #endif 49 #endif
50 50
51 // TODO(dcarney): remove this
52 #define V8_ALLOW_ACCESS_TO_RAW_HANDLE_CONSTRUCTOR
53
51 // Basic includes 54 // Basic includes
52 #include "../include/v8.h" 55 #include "../include/v8.h"
53 #include "v8globals.h" 56 #include "v8globals.h"
54 #include "v8checks.h" 57 #include "v8checks.h"
55 #include "allocation.h" 58 #include "allocation.h"
56 #include "v8utils.h" 59 #include "v8utils.h"
57 #include "flags.h" 60 #include "flags.h"
58 61
59 // Objects & heap 62 // Objects & heap
60 #include "objects-inl.h" 63 #include "objects-inl.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 147
145 // JavaScript defines two kinds of equality. 148 // JavaScript defines two kinds of equality.
146 enum EqualityKind { kStrictEquality, kNonStrictEquality }; 149 enum EqualityKind { kStrictEquality, kNonStrictEquality };
147 150
148 151
149 } } // namespace v8::internal 152 } } // namespace v8::internal
150 153
151 namespace i = v8::internal; 154 namespace i = v8::internal;
152 155
153 #endif // V8_V8_H_ 156 #endif // V8_V8_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | test/cctest/cctest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698