Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(733)

Side by Side Diff: src/heap.cc

Issue 888005: Fix issues with compiling V8 with LLVM Clang... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/globals.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698