Chromium Code Reviews| 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 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1388 preallocated_storage_preallocated_(false), | 1388 preallocated_storage_preallocated_(false), |
| 1389 pc_to_code_cache_(NULL), | 1389 pc_to_code_cache_(NULL), |
| 1390 write_input_buffer_(NULL), | 1390 write_input_buffer_(NULL), |
| 1391 global_handles_(NULL), | 1391 global_handles_(NULL), |
| 1392 context_switcher_(NULL), | 1392 context_switcher_(NULL), |
| 1393 thread_manager_(NULL), | 1393 thread_manager_(NULL), |
| 1394 ast_sentinels_(NULL), | 1394 ast_sentinels_(NULL), |
| 1395 string_tracker_(NULL), | 1395 string_tracker_(NULL), |
| 1396 regexp_stack_(NULL), | 1396 regexp_stack_(NULL), |
| 1397 frame_element_constant_list_(0), | 1397 frame_element_constant_list_(0), |
| 1398 result_constant_list_(0) { | 1398 result_constant_list_(0), |
| 1399 embedder_data_(0) { | |
|
Vitaly Repeshko
2011/05/18 06:17:13
0 -> NULL
| |
| 1399 TRACE_ISOLATE(constructor); | 1400 TRACE_ISOLATE(constructor); |
| 1400 | 1401 |
| 1401 memset(isolate_addresses_, 0, | 1402 memset(isolate_addresses_, 0, |
| 1402 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1)); | 1403 sizeof(isolate_addresses_[0]) * (k_isolate_address_count + 1)); |
| 1403 | 1404 |
| 1404 heap_.isolate_ = this; | 1405 heap_.isolate_ = this; |
| 1405 zone_.isolate_ = this; | 1406 zone_.isolate_ = this; |
| 1406 stack_guard_.isolate_ = this; | 1407 stack_guard_.isolate_ = this; |
| 1407 | 1408 |
| 1408 // ThreadManager is initialized early to support locking an isolate | 1409 // ThreadManager is initialized early to support locking an isolate |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1857 | 1858 |
| 1858 #ifdef DEBUG | 1859 #ifdef DEBUG |
| 1859 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1860 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 1860 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 1861 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 1861 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1862 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 1862 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1863 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 1863 #undef ISOLATE_FIELD_OFFSET | 1864 #undef ISOLATE_FIELD_OFFSET |
| 1864 #endif | 1865 #endif |
| 1865 | 1866 |
| 1866 } } // namespace v8::internal | 1867 } } // namespace v8::internal |
| OLD | NEW |