| 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 thread_manager_ = new ThreadManager(); | 569 thread_manager_ = new ThreadManager(); |
| 570 thread_manager_->isolate_ = this; | 570 thread_manager_->isolate_ = this; |
| 571 compilation_cache_ = new CompilationCache(); | 571 compilation_cache_ = new CompilationCache(); |
| 572 transcendental_cache_ = new TranscendentalCache(); | 572 transcendental_cache_ = new TranscendentalCache(); |
| 573 keyed_lookup_cache_ = new KeyedLookupCache(); | 573 keyed_lookup_cache_ = new KeyedLookupCache(); |
| 574 context_slot_cache_ = new ContextSlotCache(); | 574 context_slot_cache_ = new ContextSlotCache(); |
| 575 descriptor_lookup_cache_ = new DescriptorLookupCache(); | 575 descriptor_lookup_cache_ = new DescriptorLookupCache(); |
| 576 scanner_character_classes_ = new ScannerCharacterClasses(); | 576 scanner_character_classes_ = new ScannerCharacterClasses(); |
| 577 pc_to_code_cache_ = new PcToCodeCache(this); | 577 pc_to_code_cache_ = new PcToCodeCache(this); |
| 578 write_input_buffer_ = new StringInputBuffer(); | 578 write_input_buffer_ = new StringInputBuffer(); |
| 579 global_handles_ = new GlobalHandles(); | 579 global_handles_ = new GlobalHandles(this); |
| 580 bootstrapper_ = new Bootstrapper(); | 580 bootstrapper_ = new Bootstrapper(); |
| 581 cpu_features_ = new CpuFeatures(); | 581 cpu_features_ = new CpuFeatures(); |
| 582 handle_scope_implementer_ = new HandleScopeImplementer(); | 582 handle_scope_implementer_ = new HandleScopeImplementer(); |
| 583 stub_cache_ = new StubCache(this); | 583 stub_cache_ = new StubCache(this); |
| 584 ast_sentinels_ = new AstSentinels(); | 584 ast_sentinels_ = new AstSentinels(); |
| 585 regexp_stack_ = new RegExpStack(); | 585 regexp_stack_ = new RegExpStack(); |
| 586 regexp_stack_->isolate_ = this; | 586 regexp_stack_->isolate_ = this; |
| 587 | 587 |
| 588 #ifdef ENABLE_DEBUGGER_SUPPORT | 588 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 589 debugger_ = new Debugger(); | 589 debugger_ = new Debugger(); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 775 PerIsolateThreadData* previous_thread_data = item->previous_thread_data; | 775 PerIsolateThreadData* previous_thread_data = item->previous_thread_data; |
| 776 Isolate* previous_isolate = item->previous_isolate; | 776 Isolate* previous_isolate = item->previous_isolate; |
| 777 | 777 |
| 778 delete item; | 778 delete item; |
| 779 | 779 |
| 780 // Reinit the current thread for the isolate it was running before this one. | 780 // Reinit the current thread for the isolate it was running before this one. |
| 781 SetIsolateThreadLocals(previous_isolate, previous_thread_data); | 781 SetIsolateThreadLocals(previous_isolate, previous_thread_data); |
| 782 } | 782 } |
| 783 | 783 |
| 784 } } // namespace v8::internal | 784 } } // namespace v8::internal |
| OLD | NEW |