OLD | NEW |
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 /* Serializer state. */ \ | 347 /* Serializer state. */ \ |
348 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 348 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
349 /* AstNode state. */ \ | 349 /* AstNode state. */ \ |
350 V(int, ast_node_id, 0) \ | 350 V(int, ast_node_id, 0) \ |
351 V(unsigned, ast_node_count, 0) \ | 351 V(unsigned, ast_node_count, 0) \ |
352 /* SafeStackFrameIterator activations count. */ \ | 352 /* SafeStackFrameIterator activations count. */ \ |
353 V(int, safe_stack_iterator_counter, 0) \ | 353 V(int, safe_stack_iterator_counter, 0) \ |
354 V(uint64_t, enabled_cpu_features, 0) \ | 354 V(uint64_t, enabled_cpu_features, 0) \ |
355 V(CpuProfiler*, cpu_profiler, NULL) \ | 355 V(CpuProfiler*, cpu_profiler, NULL) \ |
356 V(HeapProfiler*, heap_profiler, NULL) \ | 356 V(HeapProfiler*, heap_profiler, NULL) \ |
| 357 V(bool, observer_delivery_pending, false) \ |
357 ISOLATE_DEBUGGER_INIT_LIST(V) | 358 ISOLATE_DEBUGGER_INIT_LIST(V) |
358 | 359 |
359 class Isolate { | 360 class Isolate { |
360 // These forward declarations are required to make the friend declarations in | 361 // These forward declarations are required to make the friend declarations in |
361 // PerIsolateThreadData work on some older versions of gcc. | 362 // PerIsolateThreadData work on some older versions of gcc. |
362 class ThreadDataTable; | 363 class ThreadDataTable; |
363 class EntryStackItem; | 364 class EntryStackItem; |
364 public: | 365 public: |
365 ~Isolate(); | 366 ~Isolate(); |
366 | 367 |
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 | 1445 |
1445 // Mark the native context with out of memory. | 1446 // Mark the native context with out of memory. |
1446 inline void Context::mark_out_of_memory() { | 1447 inline void Context::mark_out_of_memory() { |
1447 native_context()->set_out_of_memory(HEAP->true_value()); | 1448 native_context()->set_out_of_memory(HEAP->true_value()); |
1448 } | 1449 } |
1449 | 1450 |
1450 | 1451 |
1451 } } // namespace v8::internal | 1452 } } // namespace v8::internal |
1452 | 1453 |
1453 #endif // V8_ISOLATE_H_ | 1454 #endif // V8_ISOLATE_H_ |
OLD | NEW |