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

Side by Side Diff: src/heap.cc

Issue 6646022: Remove `sfi' abbreviations (a follow-up to r6902). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 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 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 source->set_map_word(MapWord::FromForwardingAddress(target)); 1334 source->set_map_word(MapWord::FromForwardingAddress(target));
1335 1335
1336 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING) 1336 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING)
1337 // Update NewSpace stats if necessary. 1337 // Update NewSpace stats if necessary.
1338 RecordCopiedObject(target); 1338 RecordCopiedObject(target);
1339 #endif 1339 #endif
1340 HEAP_PROFILE(ObjectMoveEvent(source->address(), target->address())); 1340 HEAP_PROFILE(ObjectMoveEvent(source->address(), target->address()));
1341 #if defined(ENABLE_LOGGING_AND_PROFILING) 1341 #if defined(ENABLE_LOGGING_AND_PROFILING)
1342 if (Logger::is_logging() || CpuProfiler::is_profiling()) { 1342 if (Logger::is_logging() || CpuProfiler::is_profiling()) {
1343 if (target->IsSharedFunctionInfo()) { 1343 if (target->IsSharedFunctionInfo()) {
1344 PROFILE(SFIMoveEvent(source->address(), target->address())); 1344 PROFILE(SharedFunctionMoveEvent(source->address(), target->address()));
1345 } 1345 }
1346 } 1346 }
1347 #endif 1347 #endif
1348 return target; 1348 return target;
1349 } 1349 }
1350 1350
1351 1351
1352 template<ObjectContents object_contents, SizeRestriction size_restriction> 1352 template<ObjectContents object_contents, SizeRestriction size_restriction>
1353 static inline void EvacuateObject(Map* map, 1353 static inline void EvacuateObject(Map* map,
1354 HeapObject** slot, 1354 HeapObject** slot,
(...skipping 4204 matching lines...) Expand 10 before | Expand all | Expand 10 after
5559 void ExternalStringTable::TearDown() { 5559 void ExternalStringTable::TearDown() {
5560 new_space_strings_.Free(); 5560 new_space_strings_.Free();
5561 old_space_strings_.Free(); 5561 old_space_strings_.Free();
5562 } 5562 }
5563 5563
5564 5564
5565 List<Object*> ExternalStringTable::new_space_strings_; 5565 List<Object*> ExternalStringTable::new_space_strings_;
5566 List<Object*> ExternalStringTable::old_space_strings_; 5566 List<Object*> ExternalStringTable::old_space_strings_;
5567 5567
5568 } } // namespace v8::internal 5568 } } // namespace v8::internal
OLDNEW
« src/cpu-profiler.h ('K') | « src/cpu-profiler-inl.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698