| 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 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1430 preallocated_storage_preallocated_(false), | 1430 preallocated_storage_preallocated_(false), |
| 1431 inner_pointer_to_code_cache_(NULL), | 1431 inner_pointer_to_code_cache_(NULL), |
| 1432 write_input_buffer_(NULL), | 1432 write_input_buffer_(NULL), |
| 1433 global_handles_(NULL), | 1433 global_handles_(NULL), |
| 1434 context_switcher_(NULL), | 1434 context_switcher_(NULL), |
| 1435 thread_manager_(NULL), | 1435 thread_manager_(NULL), |
| 1436 fp_stubs_generated_(false), | 1436 fp_stubs_generated_(false), |
| 1437 has_installed_extensions_(false), | 1437 has_installed_extensions_(false), |
| 1438 string_tracker_(NULL), | 1438 string_tracker_(NULL), |
| 1439 regexp_stack_(NULL), | 1439 regexp_stack_(NULL), |
| 1440 embedder_data_(NULL) { | 1440 embedder_data_(NULL), |
| 1441 context_exit_happened_(false) { |
| 1441 TRACE_ISOLATE(constructor); | 1442 TRACE_ISOLATE(constructor); |
| 1442 | 1443 |
| 1443 memset(isolate_addresses_, 0, | 1444 memset(isolate_addresses_, 0, |
| 1444 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); | 1445 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); |
| 1445 | 1446 |
| 1446 heap_.isolate_ = this; | 1447 heap_.isolate_ = this; |
| 1447 zone_.isolate_ = this; | 1448 zone_.isolate_ = this; |
| 1448 stack_guard_.isolate_ = this; | 1449 stack_guard_.isolate_ = this; |
| 1449 | 1450 |
| 1450 // ThreadManager is initialized early to support locking an isolate | 1451 // ThreadManager is initialized early to support locking an isolate |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1901 | 1902 |
| 1902 #ifdef DEBUG | 1903 #ifdef DEBUG |
| 1903 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1904 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 1904 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 1905 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 1905 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1906 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 1906 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1907 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 1907 #undef ISOLATE_FIELD_OFFSET | 1908 #undef ISOLATE_FIELD_OFFSET |
| 1908 #endif | 1909 #endif |
| 1909 | 1910 |
| 1910 } } // namespace v8::internal | 1911 } } // namespace v8::internal |
| OLD | NEW |