| OLD | NEW |
| 1 // Copyright 2006-2010 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2010 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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 transcendental_cache_(NULL), | 330 transcendental_cache_(NULL), |
| 331 memory_allocator_(NULL), | 331 memory_allocator_(NULL), |
| 332 keyed_lookup_cache_(NULL), | 332 keyed_lookup_cache_(NULL), |
| 333 context_slot_cache_(NULL), | 333 context_slot_cache_(NULL), |
| 334 descriptor_lookup_cache_(NULL), | 334 descriptor_lookup_cache_(NULL), |
| 335 handle_scope_implementer_(NULL), | 335 handle_scope_implementer_(NULL), |
| 336 scanner_character_classes_(NULL), | 336 scanner_character_classes_(NULL), |
| 337 in_use_list_(0), | 337 in_use_list_(0), |
| 338 free_list_(0), | 338 free_list_(0), |
| 339 preallocated_storage_preallocated_(false), | 339 preallocated_storage_preallocated_(false), |
| 340 pc_to_code_cache_(NULL), |
| 340 write_input_buffer_(NULL), | 341 write_input_buffer_(NULL), |
| 341 global_handles_(NULL), | 342 global_handles_(NULL), |
| 342 context_switcher_(NULL), | 343 context_switcher_(NULL), |
| 343 thread_manager_(NULL), | 344 thread_manager_(NULL), |
| 344 ast_sentinels_(NULL), | 345 ast_sentinels_(NULL), |
| 345 inline_runtime_functions_table_(NULL), | 346 inline_runtime_functions_table_(NULL), |
| 346 string_tracker_(NULL), | 347 string_tracker_(NULL), |
| 347 regexp_stack_(NULL), | 348 regexp_stack_(NULL), |
| 348 frame_element_constant_list_(0), | 349 frame_element_constant_list_(0), |
| 349 result_constant_list_(0), | 350 result_constant_list_(0), |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 480 | 481 |
| 481 delete counters_; | 482 delete counters_; |
| 482 counters_ = NULL; | 483 counters_ = NULL; |
| 483 delete cpu_features_; | 484 delete cpu_features_; |
| 484 cpu_features_ = NULL; | 485 cpu_features_ = NULL; |
| 485 | 486 |
| 486 delete compilation_cache_; | 487 delete compilation_cache_; |
| 487 compilation_cache_ = NULL; | 488 compilation_cache_ = NULL; |
| 488 delete bootstrapper_; | 489 delete bootstrapper_; |
| 489 bootstrapper_ = NULL; | 490 bootstrapper_ = NULL; |
| 491 delete pc_to_code_cache_; |
| 492 pc_to_code_cache_ = NULL; |
| 490 delete write_input_buffer_; | 493 delete write_input_buffer_; |
| 491 write_input_buffer_ = NULL; | 494 write_input_buffer_ = NULL; |
| 492 | 495 |
| 493 delete context_switcher_; | 496 delete context_switcher_; |
| 494 context_switcher_ = NULL; | 497 context_switcher_ = NULL; |
| 495 delete thread_manager_; | 498 delete thread_manager_; |
| 496 thread_manager_ = NULL; | 499 thread_manager_ = NULL; |
| 497 | 500 |
| 498 delete string_tracker_; | 501 delete string_tracker_; |
| 499 string_tracker_ = NULL; | 502 string_tracker_ = NULL; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 string_tracker_ = new StringTracker(); | 550 string_tracker_ = new StringTracker(); |
| 548 string_tracker_->isolate_ = this; | 551 string_tracker_->isolate_ = this; |
| 549 thread_manager_ = new ThreadManager(); | 552 thread_manager_ = new ThreadManager(); |
| 550 thread_manager_->isolate_ = this; | 553 thread_manager_->isolate_ = this; |
| 551 compilation_cache_ = new CompilationCache(); | 554 compilation_cache_ = new CompilationCache(); |
| 552 transcendental_cache_ = new TranscendentalCache(); | 555 transcendental_cache_ = new TranscendentalCache(); |
| 553 keyed_lookup_cache_ = new KeyedLookupCache(); | 556 keyed_lookup_cache_ = new KeyedLookupCache(); |
| 554 context_slot_cache_ = new ContextSlotCache(); | 557 context_slot_cache_ = new ContextSlotCache(); |
| 555 descriptor_lookup_cache_ = new DescriptorLookupCache(); | 558 descriptor_lookup_cache_ = new DescriptorLookupCache(); |
| 556 scanner_character_classes_ = new ScannerCharacterClasses(); | 559 scanner_character_classes_ = new ScannerCharacterClasses(); |
| 560 pc_to_code_cache_ = new PcToCodeCache(this); |
| 557 write_input_buffer_ = new StringInputBuffer(); | 561 write_input_buffer_ = new StringInputBuffer(); |
| 558 global_handles_ = new GlobalHandles(); | 562 global_handles_ = new GlobalHandles(); |
| 559 bootstrapper_ = new Bootstrapper(); | 563 bootstrapper_ = new Bootstrapper(); |
| 560 cpu_features_ = new CpuFeatures(); | 564 cpu_features_ = new CpuFeatures(); |
| 561 handle_scope_implementer_ = new HandleScopeImplementer(); | 565 handle_scope_implementer_ = new HandleScopeImplementer(); |
| 562 stub_cache_ = new StubCache(this); | 566 stub_cache_ = new StubCache(this); |
| 563 ast_sentinels_ = new AstSentinels(); | 567 ast_sentinels_ = new AstSentinels(); |
| 564 inline_runtime_functions_table_ = new InlineRuntimeFunctionsTable(); | 568 inline_runtime_functions_table_ = new InlineRuntimeFunctionsTable(); |
| 565 regexp_stack_ = new RegExpStack(); | 569 regexp_stack_ = new RegExpStack(); |
| 566 regexp_stack_->isolate_ = this; | 570 regexp_stack_->isolate_ = this; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 PerIsolateThreadData* previous_thread_data = item->previous_thread_data; | 753 PerIsolateThreadData* previous_thread_data = item->previous_thread_data; |
| 750 Isolate* previous_isolate = item->previous_isolate; | 754 Isolate* previous_isolate = item->previous_isolate; |
| 751 | 755 |
| 752 delete item; | 756 delete item; |
| 753 | 757 |
| 754 // Reinit the current thread for the isolate it was running before this one. | 758 // Reinit the current thread for the isolate it was running before this one. |
| 755 SetIsolateThreadLocals(previous_isolate, previous_thread_data); | 759 SetIsolateThreadLocals(previous_isolate, previous_thread_data); |
| 756 } | 760 } |
| 757 | 761 |
| 758 } } // namespace v8::internal | 762 } } // namespace v8::internal |
| OLD | NEW |