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

Side by Side Diff: src/isolate.h

Issue 3351022: Make the code compile on Mac OS X (Closed)
Patch Set: Changed comment wording in accord with review Created 10 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 V(Object*, string_stream_current_security_token, NULL) \ 289 V(Object*, string_stream_current_security_token, NULL) \
290 /* TODO(isolates): Release this on destruction? */ \ 290 /* TODO(isolates): Release this on destruction? */ \
291 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 291 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
292 /* Serializer state. */ \ 292 /* Serializer state. */ \
293 V(ExternalReferenceTable*, external_reference_table, NULL) \ 293 V(ExternalReferenceTable*, external_reference_table, NULL) \
294 ISOLATE_PLATFORM_INIT_LIST(V) \ 294 ISOLATE_PLATFORM_INIT_LIST(V) \
295 ISOLATE_LOGGING_INIT_LIST(V) \ 295 ISOLATE_LOGGING_INIT_LIST(V) \
296 ISOLATE_DEBUGGER_INIT_LIST(V) 296 ISOLATE_DEBUGGER_INIT_LIST(V)
297 297
298 class Isolate { 298 class Isolate {
299 // These forward declarations are required to make the friend declarations in
300 // PerIsolateThreadData work on some older versions of gcc.
301 class ThreadDataTable;
302 class EntryStackItem;
299 public: 303 public:
300 ~Isolate(); 304 ~Isolate();
301 305
302 typedef int ThreadId; 306 typedef int ThreadId;
303 307
304 // A thread has a PerIsolateThreadData instance for each isolate that it has 308 // A thread has a PerIsolateThreadData instance for each isolate that it has
305 // entered. That instance is allocated when the isolate is initially entered 309 // entered. That instance is allocated when the isolate is initially entered
306 // and reused on subsequent entries. 310 // and reused on subsequent entries.
307 class PerIsolateThreadData { 311 class PerIsolateThreadData {
308 public: 312 public:
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 #define ISOLATED_CLASS class 1178 #define ISOLATED_CLASS class
1175 1179
1176 } } // namespace v8::internal 1180 } } // namespace v8::internal
1177 1181
1178 // TODO(isolates): Get rid of these -inl.h includes and place them only where 1182 // TODO(isolates): Get rid of these -inl.h includes and place them only where
1179 // they're needed. 1183 // they're needed.
1180 #include "allocation-inl.h" 1184 #include "allocation-inl.h"
1181 #include "zone-inl.h" 1185 #include "zone-inl.h"
1182 1186
1183 #endif // V8_ISOLATE_H_ 1187 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698