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

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: heapconst 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
« no previous file with comments | « src/heap.cc ('k') | src/object-observe.js » ('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 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 V(Relocatable*, relocatable_top, NULL) \ 352 V(Relocatable*, relocatable_top, NULL) \
353 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ 353 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \
354 V(Object*, string_stream_current_security_token, NULL) \ 354 V(Object*, string_stream_current_security_token, NULL) \
355 /* TODO(isolates): Release this on destruction? */ \ 355 /* TODO(isolates): Release this on destruction? */ \
356 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ 356 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \
357 /* Serializer state. */ \ 357 /* Serializer state. */ \
358 V(ExternalReferenceTable*, external_reference_table, NULL) \ 358 V(ExternalReferenceTable*, external_reference_table, NULL) \
359 /* AstNode state. */ \ 359 /* AstNode state. */ \
360 V(int, ast_node_id, 0) \ 360 V(int, ast_node_id, 0) \
361 V(unsigned, ast_node_count, 0) \ 361 V(unsigned, ast_node_count, 0) \
362 V(bool, microtask_pending, false) \ 362 V(bool, microtask_pending, false) \
363 V(bool, autorun_microtasks, true) \
363 V(HStatistics*, hstatistics, NULL) \ 364 V(HStatistics*, hstatistics, NULL) \
364 V(HTracer*, htracer, NULL) \ 365 V(HTracer*, htracer, NULL) \
365 V(CodeTracer*, code_tracer, NULL) \ 366 V(CodeTracer*, code_tracer, NULL) \
366 ISOLATE_DEBUGGER_INIT_LIST(V) 367 ISOLATE_DEBUGGER_INIT_LIST(V)
367 368
368 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ 369 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \
369 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ 370 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \
370 inline type name() const { return thread_local_top_.name##_; } 371 inline type name() const { return thread_local_top_.name##_; }
371 372
372 373
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 } 1544 }
1544 1545
1545 EmbeddedVector<char, 128> filename_; 1546 EmbeddedVector<char, 128> filename_;
1546 FILE* file_; 1547 FILE* file_;
1547 int scope_depth_; 1548 int scope_depth_;
1548 }; 1549 };
1549 1550
1550 } } // namespace v8::internal 1551 } } // namespace v8::internal
1551 1552
1552 #endif // V8_ISOLATE_H_ 1553 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698