| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 class ContextSlotCache; | 61 class ContextSlotCache; |
| 62 class Counters; | 62 class Counters; |
| 63 class CpuFeatures; | 63 class CpuFeatures; |
| 64 class CpuProfiler; | 64 class CpuProfiler; |
| 65 class DeoptimizerData; | 65 class DeoptimizerData; |
| 66 class Deserializer; | 66 class Deserializer; |
| 67 class EmptyStatement; | 67 class EmptyStatement; |
| 68 class ExternalCallbackScope; | 68 class ExternalCallbackScope; |
| 69 class ExternalReferenceTable; | 69 class ExternalReferenceTable; |
| 70 class Factory; | 70 class Factory; |
| 71 class FastParserThread; |
| 71 class FunctionInfoListener; | 72 class FunctionInfoListener; |
| 72 class HandleScopeImplementer; | 73 class HandleScopeImplementer; |
| 73 class HeapProfiler; | 74 class HeapProfiler; |
| 74 class HStatistics; | 75 class HStatistics; |
| 75 class HTracer; | 76 class HTracer; |
| 76 class InlineRuntimeFunctionsTable; | 77 class InlineRuntimeFunctionsTable; |
| 77 class InnerPointerToCodeCache; | 78 class InnerPointerToCodeCache; |
| 78 class MaterializedObjectStore; | 79 class MaterializedObjectStore; |
| 79 class NoAllocationStringAllocator; | 80 class NoAllocationStringAllocator; |
| 80 class RandomNumberGenerator; | 81 class RandomNumberGenerator; |
| (...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1093 // Thread is only available with flag enabled. | 1094 // Thread is only available with flag enabled. |
| 1094 ASSERT(optimizing_compiler_thread_ == NULL || | 1095 ASSERT(optimizing_compiler_thread_ == NULL || |
| 1095 FLAG_concurrent_recompilation); | 1096 FLAG_concurrent_recompilation); |
| 1096 return optimizing_compiler_thread_ != NULL && FLAG_concurrent_osr; | 1097 return optimizing_compiler_thread_ != NULL && FLAG_concurrent_osr; |
| 1097 } | 1098 } |
| 1098 | 1099 |
| 1099 OptimizingCompilerThread* optimizing_compiler_thread() { | 1100 OptimizingCompilerThread* optimizing_compiler_thread() { |
| 1100 return optimizing_compiler_thread_; | 1101 return optimizing_compiler_thread_; |
| 1101 } | 1102 } |
| 1102 | 1103 |
| 1104 FastParserThread* fast_parser_thread() { |
| 1105 return fast_parser_thread_; |
| 1106 } |
| 1107 |
| 1103 int num_sweeper_threads() const { | 1108 int num_sweeper_threads() const { |
| 1104 return num_sweeper_threads_; | 1109 return num_sweeper_threads_; |
| 1105 } | 1110 } |
| 1106 | 1111 |
| 1107 SweeperThread** sweeper_threads() { | 1112 SweeperThread** sweeper_threads() { |
| 1108 return sweeper_thread_; | 1113 return sweeper_thread_; |
| 1109 } | 1114 } |
| 1110 | 1115 |
| 1111 int id() const { return static_cast<int>(id_); } | 1116 int id() const { return static_cast<int>(id_); } |
| 1112 | 1117 |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 // between compilation units. | 1347 // between compilation units. |
| 1343 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1348 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 1344 static const intptr_t name##_debug_offset_; | 1349 static const intptr_t name##_debug_offset_; |
| 1345 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1350 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 1346 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1351 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 1347 #undef ISOLATE_FIELD_OFFSET | 1352 #undef ISOLATE_FIELD_OFFSET |
| 1348 #endif | 1353 #endif |
| 1349 | 1354 |
| 1350 DeferredHandles* deferred_handles_head_; | 1355 DeferredHandles* deferred_handles_head_; |
| 1351 OptimizingCompilerThread* optimizing_compiler_thread_; | 1356 OptimizingCompilerThread* optimizing_compiler_thread_; |
| 1357 FastParserThread* fast_parser_thread_; |
| 1352 SweeperThread** sweeper_thread_; | 1358 SweeperThread** sweeper_thread_; |
| 1353 int num_sweeper_threads_; | 1359 int num_sweeper_threads_; |
| 1354 | 1360 |
| 1355 // Counts deopt points if deopt_every_n_times is enabled. | 1361 // Counts deopt points if deopt_every_n_times is enabled. |
| 1356 unsigned int stress_deopt_count_; | 1362 unsigned int stress_deopt_count_; |
| 1357 | 1363 |
| 1358 int next_optimization_id_; | 1364 int next_optimization_id_; |
| 1359 | 1365 |
| 1360 friend class ExecutionAccess; | 1366 friend class ExecutionAccess; |
| 1361 friend class HandleScopeImplementer; | 1367 friend class HandleScopeImplementer; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1550 } | 1556 } |
| 1551 | 1557 |
| 1552 EmbeddedVector<char, 128> filename_; | 1558 EmbeddedVector<char, 128> filename_; |
| 1553 FILE* file_; | 1559 FILE* file_; |
| 1554 int scope_depth_; | 1560 int scope_depth_; |
| 1555 }; | 1561 }; |
| 1556 | 1562 |
| 1557 } } // namespace v8::internal | 1563 } } // namespace v8::internal |
| 1558 | 1564 |
| 1559 #endif // V8_ISOLATE_H_ | 1565 #endif // V8_ISOLATE_H_ |
| OLD | NEW |