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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 V(Object*, string_stream_current_security_token, NULL) \ | 361 V(Object*, string_stream_current_security_token, NULL) \ |
362 /* TODO(isolates): Release this on destruction? */ \ | 362 /* TODO(isolates): Release this on destruction? */ \ |
363 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ | 363 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ |
364 /* Serializer state. */ \ | 364 /* Serializer state. */ \ |
365 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 365 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
366 /* AstNode state. */ \ | 366 /* AstNode state. */ \ |
367 V(int, ast_node_id, 0) \ | 367 V(int, ast_node_id, 0) \ |
368 V(unsigned, ast_node_count, 0) \ | 368 V(unsigned, ast_node_count, 0) \ |
369 /* SafeStackFrameIterator activations count. */ \ | 369 /* SafeStackFrameIterator activations count. */ \ |
370 V(int, safe_stack_iterator_counter, 0) \ | 370 V(int, safe_stack_iterator_counter, 0) \ |
371 V(uint64_t, enabled_cpu_features, 0) \ | |
372 V(CpuProfiler*, cpu_profiler, NULL) \ | 371 V(CpuProfiler*, cpu_profiler, NULL) \ |
373 V(HeapProfiler*, heap_profiler, NULL) \ | 372 V(HeapProfiler*, heap_profiler, NULL) \ |
374 V(bool, observer_delivery_pending, false) \ | 373 V(bool, observer_delivery_pending, false) \ |
375 ISOLATE_DEBUGGER_INIT_LIST(V) | 374 ISOLATE_DEBUGGER_INIT_LIST(V) |
376 | 375 |
377 class Isolate { | 376 class Isolate { |
378 // These forward declarations are required to make the friend declarations in | 377 // These forward declarations are required to make the friend declarations in |
379 // PerIsolateThreadData work on some older versions of gcc. | 378 // PerIsolateThreadData work on some older versions of gcc. |
380 class ThreadDataTable; | 379 class ThreadDataTable; |
381 class EntryStackItem; | 380 class EntryStackItem; |
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 | 1475 |
1477 // Mark the native context with out of memory. | 1476 // Mark the native context with out of memory. |
1478 inline void Context::mark_out_of_memory() { | 1477 inline void Context::mark_out_of_memory() { |
1479 native_context()->set_out_of_memory(HEAP->true_value()); | 1478 native_context()->set_out_of_memory(HEAP->true_value()); |
1480 } | 1479 } |
1481 | 1480 |
1482 | 1481 |
1483 } } // namespace v8::internal | 1482 } } // namespace v8::internal |
1484 | 1483 |
1485 #endif // V8_ISOLATE_H_ | 1484 #endif // V8_ISOLATE_H_ |
OLD | NEW |