| 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 1416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1427 unicode_cache_(NULL), | 1427 unicode_cache_(NULL), |
| 1428 in_use_list_(0), | 1428 in_use_list_(0), |
| 1429 free_list_(0), | 1429 free_list_(0), |
| 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 string_tracker_(NULL), | 1438 string_tracker_(NULL), |
| 1438 regexp_stack_(NULL), | 1439 regexp_stack_(NULL), |
| 1439 embedder_data_(NULL) { | 1440 embedder_data_(NULL) { |
| 1440 TRACE_ISOLATE(constructor); | 1441 TRACE_ISOLATE(constructor); |
| 1441 | 1442 |
| 1442 memset(isolate_addresses_, 0, | 1443 memset(isolate_addresses_, 0, |
| 1443 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); | 1444 sizeof(isolate_addresses_[0]) * (kIsolateAddressCount + 1)); |
| 1444 | 1445 |
| 1445 heap_.isolate_ = this; | 1446 heap_.isolate_ = this; |
| 1446 zone_.isolate_ = this; | 1447 zone_.isolate_ = this; |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1900 | 1901 |
| 1901 #ifdef DEBUG | 1902 #ifdef DEBUG |
| 1902 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1903 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 1903 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 1904 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 1904 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1905 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 1905 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1906 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 1906 #undef ISOLATE_FIELD_OFFSET | 1907 #undef ISOLATE_FIELD_OFFSET |
| 1907 #endif | 1908 #endif |
| 1908 | 1909 |
| 1909 } } // namespace v8::internal | 1910 } } // namespace v8::internal |
| OLD | NEW |