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(Relocatable*, relocatable_top, NULL) \ | 361 V(Relocatable*, relocatable_top, NULL) \ |
362 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ | 362 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ |
363 V(Object*, string_stream_current_security_token, NULL) \ | 363 V(Object*, string_stream_current_security_token, NULL) \ |
364 /* TODO(isolates): Release this on destruction? */ \ | 364 /* TODO(isolates): Release this on destruction? */ \ |
365 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ | 365 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ |
366 /* Serializer state. */ \ | 366 /* Serializer state. */ \ |
367 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 367 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
368 /* AstNode state. */ \ | 368 /* AstNode state. */ \ |
369 V(int, ast_node_id, 0) \ | 369 V(int, ast_node_id, 0) \ |
370 V(unsigned, ast_node_count, 0) \ | 370 V(unsigned, ast_node_count, 0) \ |
371 /* SafeStackFrameIterator activations count. */ \ | |
372 V(int, safe_stack_iterator_counter, 0) \ | |
373 V(bool, observer_delivery_pending, false) \ | 371 V(bool, observer_delivery_pending, false) \ |
374 V(HStatistics*, hstatistics, NULL) \ | 372 V(HStatistics*, hstatistics, NULL) \ |
375 V(HTracer*, htracer, NULL) \ | 373 V(HTracer*, htracer, NULL) \ |
376 ISOLATE_DEBUGGER_INIT_LIST(V) | 374 ISOLATE_DEBUGGER_INIT_LIST(V) |
377 | 375 |
378 class Isolate { | 376 class Isolate { |
379 // These forward declarations are required to make the friend declarations in | 377 // These forward declarations are required to make the friend declarations in |
380 // PerIsolateThreadData work on some older versions of gcc. | 378 // PerIsolateThreadData work on some older versions of gcc. |
381 class ThreadDataTable; | 379 class ThreadDataTable; |
382 class EntryStackItem; | 380 class EntryStackItem; |
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 | 1489 |
1492 // Mark the native context with out of memory. | 1490 // Mark the native context with out of memory. |
1493 inline void Context::mark_out_of_memory() { | 1491 inline void Context::mark_out_of_memory() { |
1494 native_context()->set_out_of_memory(HEAP->true_value()); | 1492 native_context()->set_out_of_memory(HEAP->true_value()); |
1495 } | 1493 } |
1496 | 1494 |
1497 | 1495 |
1498 } } // namespace v8::internal | 1496 } } // namespace v8::internal |
1499 | 1497 |
1500 #endif // V8_ISOLATE_H_ | 1498 #endif // V8_ISOLATE_H_ |
OLD | NEW |