| OLD | NEW |
| 1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 3684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3695 } | 3695 } |
| 3696 | 3696 |
| 3697 | 3697 |
| 3698 void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) { | 3698 void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) { |
| 3699 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]); | 3699 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]); |
| 3700 v->Synchronize("strong_root_list"); | 3700 v->Synchronize("strong_root_list"); |
| 3701 | 3701 |
| 3702 v->VisitPointer(BitCast<Object**, String**>(&hidden_symbol_)); | 3702 v->VisitPointer(BitCast<Object**, String**>(&hidden_symbol_)); |
| 3703 v->Synchronize("symbol"); | 3703 v->Synchronize("symbol"); |
| 3704 | 3704 |
| 3705 Bootstrapper::Iterate(v); | 3705 Isolate::Current()->bootstrapper()->Iterate(v); |
| 3706 v->Synchronize("bootstrapper"); | 3706 v->Synchronize("bootstrapper"); |
| 3707 Top::Iterate(v); | 3707 Top::Iterate(v); |
| 3708 v->Synchronize("top"); | 3708 v->Synchronize("top"); |
| 3709 Relocatable::Iterate(v); | 3709 Relocatable::Iterate(v); |
| 3710 v->Synchronize("relocatable"); | 3710 v->Synchronize("relocatable"); |
| 3711 | 3711 |
| 3712 #ifdef ENABLE_DEBUGGER_SUPPORT | 3712 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 3713 Debug::Iterate(v); | 3713 Debug::Iterate(v); |
| 3714 #endif | 3714 #endif |
| 3715 v->Synchronize("debug"); | 3715 v->Synchronize("debug"); |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4683 void ExternalStringTable::TearDown() { | 4683 void ExternalStringTable::TearDown() { |
| 4684 new_space_strings_.Free(); | 4684 new_space_strings_.Free(); |
| 4685 old_space_strings_.Free(); | 4685 old_space_strings_.Free(); |
| 4686 } | 4686 } |
| 4687 | 4687 |
| 4688 | 4688 |
| 4689 List<Object*> ExternalStringTable::new_space_strings_; | 4689 List<Object*> ExternalStringTable::new_space_strings_; |
| 4690 List<Object*> ExternalStringTable::old_space_strings_; | 4690 List<Object*> ExternalStringTable::old_space_strings_; |
| 4691 | 4691 |
| 4692 } } // namespace v8::internal | 4692 } } // namespace v8::internal |
| OLD | NEW |