| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 V(CodeGenerator*, current_code_generator, NULL) \ | 343 V(CodeGenerator*, current_code_generator, NULL) \ |
| 344 V(bool, jump_target_compiling_deferred_code, false) \ | 344 V(bool, jump_target_compiling_deferred_code, false) \ |
| 345 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ | 345 V(DebugObjectCache*, string_stream_debug_object_cache, NULL) \ |
| 346 V(Object*, string_stream_current_security_token, NULL) \ | 346 V(Object*, string_stream_current_security_token, NULL) \ |
| 347 /* TODO(isolates): Release this on destruction? */ \ | 347 /* TODO(isolates): Release this on destruction? */ \ |
| 348 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ | 348 V(int*, irregexp_interpreter_backtrack_stack_cache, NULL) \ |
| 349 /* Serializer state. */ \ | 349 /* Serializer state. */ \ |
| 350 V(ExternalReferenceTable*, external_reference_table, NULL) \ | 350 V(ExternalReferenceTable*, external_reference_table, NULL) \ |
| 351 /* AstNode state. */ \ | 351 /* AstNode state. */ \ |
| 352 V(unsigned, ast_node_id, 0) \ | 352 V(unsigned, ast_node_id, 0) \ |
| 353 V(unsigned, ast_node_count, 0) \ | |
| 354 /* SafeStackFrameIterator activations count. */ \ | 353 /* SafeStackFrameIterator activations count. */ \ |
| 355 V(int, safe_stack_iterator_counter, 0) \ | 354 V(int, safe_stack_iterator_counter, 0) \ |
| 356 V(uint64_t, enabled_cpu_features, 0) \ | 355 V(uint64_t, enabled_cpu_features, 0) \ |
| 357 V(CpuProfiler*, cpu_profiler, NULL) \ | 356 V(CpuProfiler*, cpu_profiler, NULL) \ |
| 358 V(HeapProfiler*, heap_profiler, NULL) \ | 357 V(HeapProfiler*, heap_profiler, NULL) \ |
| 359 ISOLATE_PLATFORM_INIT_LIST(V) \ | 358 ISOLATE_PLATFORM_INIT_LIST(V) \ |
| 360 ISOLATE_DEBUGGER_INIT_LIST(V) | 359 ISOLATE_DEBUGGER_INIT_LIST(V) |
| 361 | 360 |
| 362 class Isolate { | 361 class Isolate { |
| 363 // These forward declarations are required to make the friend declarations in | 362 // These forward declarations are required to make the friend declarations in |
| (...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1366 | 1365 |
| 1367 // Mark the global context with out of memory. | 1366 // Mark the global context with out of memory. |
| 1368 inline void Context::mark_out_of_memory() { | 1367 inline void Context::mark_out_of_memory() { |
| 1369 global_context()->set_out_of_memory(HEAP->true_value()); | 1368 global_context()->set_out_of_memory(HEAP->true_value()); |
| 1370 } | 1369 } |
| 1371 | 1370 |
| 1372 | 1371 |
| 1373 } } // namespace v8::internal | 1372 } } // namespace v8::internal |
| 1374 | 1373 |
| 1375 #endif // V8_ISOLATE_H_ | 1374 #endif // V8_ISOLATE_H_ |
| OLD | NEW |