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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1393 free_list_(0), | 1393 free_list_(0), |
1394 preallocated_storage_preallocated_(false), | 1394 preallocated_storage_preallocated_(false), |
1395 pc_to_code_cache_(NULL), | 1395 pc_to_code_cache_(NULL), |
1396 write_input_buffer_(NULL), | 1396 write_input_buffer_(NULL), |
1397 global_handles_(NULL), | 1397 global_handles_(NULL), |
1398 context_switcher_(NULL), | 1398 context_switcher_(NULL), |
1399 thread_manager_(NULL), | 1399 thread_manager_(NULL), |
1400 ast_sentinels_(NULL), | 1400 ast_sentinels_(NULL), |
1401 string_tracker_(NULL), | 1401 string_tracker_(NULL), |
1402 regexp_stack_(NULL), | 1402 regexp_stack_(NULL), |
1403 frame_element_constant_list_(0), | |
1404 result_constant_list_(0), | |
1405 embedder_data_(NULL) { | 1403 embedder_data_(NULL) { |
1406 TRACE_ISOLATE(constructor); | 1404 TRACE_ISOLATE(constructor); |
1407 | 1405 |
1408 memset(isolate_addresses_, 0, | 1406 memset(isolate_addresses_, 0, |
1409 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1)); | 1407 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1)); |
1410 | 1408 |
1411 heap_.isolate_ = this; | 1409 heap_.isolate_ = this; |
1412 zone_.isolate_ = this; | 1410 zone_.isolate_ = this; |
1413 stack_guard_.isolate_ = this; | 1411 stack_guard_.isolate_ = this; |
1414 | 1412 |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1864 | 1862 |
1865 #ifdef DEBUG | 1863 #ifdef DEBUG |
1866 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1864 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
1867 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 1865 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
1868 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1866 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
1869 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1867 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
1870 #undef ISOLATE_FIELD_OFFSET | 1868 #undef ISOLATE_FIELD_OFFSET |
1871 #endif | 1869 #endif |
1872 | 1870 |
1873 } } // namespace v8::internal | 1871 } } // namespace v8::internal |
OLD | NEW |