| 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 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3392 ExternalStringTable::Iterate(v); | 3392 ExternalStringTable::Iterate(v); |
| 3393 } | 3393 } |
| 3394 v->Synchronize("external_string_table"); | 3394 v->Synchronize("external_string_table"); |
| 3395 } | 3395 } |
| 3396 | 3396 |
| 3397 | 3397 |
| 3398 void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) { | 3398 void Heap::IterateStrongRoots(ObjectVisitor* v, VisitMode mode) { |
| 3399 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]); | 3399 v->VisitPointers(&roots_[0], &roots_[kStrongRootListLength]); |
| 3400 v->Synchronize("strong_root_list"); | 3400 v->Synchronize("strong_root_list"); |
| 3401 | 3401 |
| 3402 v->VisitPointer(bit_cast<Object**, String**>(&hidden_symbol_)); | 3402 v->VisitPointer(BitCast<Object**, String**>(&hidden_symbol_)); |
| 3403 v->Synchronize("symbol"); | 3403 v->Synchronize("symbol"); |
| 3404 | 3404 |
| 3405 Bootstrapper::Iterate(v); | 3405 Bootstrapper::Iterate(v); |
| 3406 v->Synchronize("bootstrapper"); | 3406 v->Synchronize("bootstrapper"); |
| 3407 Top::Iterate(v); | 3407 Top::Iterate(v); |
| 3408 v->Synchronize("top"); | 3408 v->Synchronize("top"); |
| 3409 Relocatable::Iterate(v); | 3409 Relocatable::Iterate(v); |
| 3410 v->Synchronize("relocatable"); | 3410 v->Synchronize("relocatable"); |
| 3411 | 3411 |
| 3412 #ifdef ENABLE_DEBUGGER_SUPPORT | 3412 #ifdef ENABLE_DEBUGGER_SUPPORT |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4251 void ExternalStringTable::TearDown() { | 4251 void ExternalStringTable::TearDown() { |
| 4252 new_space_strings_.Free(); | 4252 new_space_strings_.Free(); |
| 4253 old_space_strings_.Free(); | 4253 old_space_strings_.Free(); |
| 4254 } | 4254 } |
| 4255 | 4255 |
| 4256 | 4256 |
| 4257 List<Object*> ExternalStringTable::new_space_strings_; | 4257 List<Object*> ExternalStringTable::new_space_strings_; |
| 4258 List<Object*> ExternalStringTable::old_space_strings_; | 4258 List<Object*> ExternalStringTable::old_space_strings_; |
| 4259 | 4259 |
| 4260 } } // namespace v8::internal | 4260 } } // namespace v8::internal |
| OLD | NEW |