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

Side by Side Diff: src/isolate.h

Issue 154283002: V8 Microtask Queue & API (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: pre-review Created 6 years, 10 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 V(Relocatable*, relocatable_top, NULL) \ 353 V(Relocatable*, relocatable_top, NULL) \
354 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 354 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
355 V(Object*, string_stream_current_security_token, NULL) \ 355 V(Object*, string_stream_current_security_token, NULL) \
356 /* TODO(isolates): Release this on destruction? */ \ 356 /* TODO(isolates): Release this on destruction? */ \
357 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 357 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
358 /* Serializer state. */ \ 358 /* Serializer state. */ \
359 V(ExternalReferenceTable*, external_reference_table, NULL) \ 359 V(ExternalReferenceTable*, external_reference_table, NULL) \
360 /* AstNode state. */ \ 360 /* AstNode state. */ \
361 V(int, ast_node_id, 0) \ 361 V(int, ast_node_id, 0) \
362 V(unsigned, ast_node_count, 0) \ 362 V(unsigned, ast_node_count, 0) \
363 V(bool, microtask_pending, false) \ 363 V(bool, microtask_pending, false) \
364 V(bool, autorun_microtasks, true) \
364 V(HStatistics*, hstatistics, NULL) \ 365 V(HStatistics*, hstatistics, NULL) \
365 V(HTracer*, htracer, NULL) \ 366 V(HTracer*, htracer, NULL) \
366 V(CodeTracer*, code_tracer, NULL) \ 367 V(CodeTracer*, code_tracer, NULL) \
367 ISOLATE_DEBUGGER_INIT_LIST(V) 368 ISOLATE_DEBUGGER_INIT_LIST(V)
368 369
369 class Isolate { 370 class Isolate {
370 // These forward declarations are required to make the friend declarations in 371 // These forward declarations are required to make the friend declarations in
371 // PerIsolateThreadData work on some older versions of gcc. 372 // PerIsolateThreadData work on some older versions of gcc.
372 class ThreadDataTable; 373 class ThreadDataTable;
373 class EntryStackItem; 374 class EntryStackItem;
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 } 1582 }
1582 1583
1583 EmbeddedVector<char, 128> filename_; 1584 EmbeddedVector<char, 128> filename_;
1584 FILE* file_; 1585 FILE* file_;
1585 int scope_depth_; 1586 int scope_depth_;
1586 }; 1587 };
1587 1588
1588 } } // namespace v8::internal 1589 } } // namespace v8::internal
1589 1590
1590 #endif // V8_ISOLATE_H_ 1591 #endif // V8_ISOLATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698