| 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 2041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2052 | 2052 |
| 2053 delete memory_allocator_; | 2053 delete memory_allocator_; |
| 2054 memory_allocator_ = NULL; | 2054 memory_allocator_ = NULL; |
| 2055 delete code_range_; | 2055 delete code_range_; |
| 2056 code_range_ = NULL; | 2056 code_range_ = NULL; |
| 2057 delete global_handles_; | 2057 delete global_handles_; |
| 2058 global_handles_ = NULL; | 2058 global_handles_ = NULL; |
| 2059 delete eternal_handles_; | 2059 delete eternal_handles_; |
| 2060 eternal_handles_ = NULL; | 2060 eternal_handles_ = NULL; |
| 2061 | 2061 |
| 2062 delete string_stream_debug_object_cache_; | 2062 DebugObjectCache::Delete(string_stream_debug_object_cache_); |
| 2063 string_stream_debug_object_cache_ = NULL; | 2063 string_stream_debug_object_cache_ = NULL; |
| 2064 | 2064 |
| 2065 delete external_reference_table_; | 2065 delete external_reference_table_; |
| 2066 external_reference_table_ = NULL; | 2066 external_reference_table_ = NULL; |
| 2067 | 2067 |
| 2068 #ifdef ENABLE_DEBUGGER_SUPPORT | 2068 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 2069 delete debugger_; | 2069 delete debugger_; |
| 2070 debugger_ = NULL; | 2070 debugger_ = NULL; |
| 2071 delete debug_; | 2071 delete debug_; |
| 2072 debug_ = NULL; | 2072 debug_ = NULL; |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2527 | 2527 |
| 2528 #ifdef DEBUG | 2528 #ifdef DEBUG |
| 2529 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2529 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 2530 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2530 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 2531 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2531 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 2532 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2532 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 2533 #undef ISOLATE_FIELD_OFFSET | 2533 #undef ISOLATE_FIELD_OFFSET |
| 2534 #endif | 2534 #endif |
| 2535 | 2535 |
| 2536 } } // namespace v8::internal | 2536 } } // namespace v8::internal |
| OLD | NEW |