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

Side by Side Diff: src/profile-generator.cc

Issue 10692130: Swap bitfield3 and backpointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: u Created 8 years, 5 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1993 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 void V8HeapExplorer::ExtractMapReferences(int entry, Map* map) { 2004 void V8HeapExplorer::ExtractMapReferences(int entry, Map* map) {
2005 SetInternalReference(map, entry, 2005 SetInternalReference(map, entry,
2006 "prototype", map->prototype(), Map::kPrototypeOffset); 2006 "prototype", map->prototype(), Map::kPrototypeOffset);
2007 SetInternalReference(map, entry, 2007 SetInternalReference(map, entry,
2008 "constructor", map->constructor(), 2008 "constructor", map->constructor(),
2009 Map::kConstructorOffset); 2009 Map::kConstructorOffset);
2010 if (!map->instance_descriptors()->IsEmpty()) { 2010 if (!map->instance_descriptors()->IsEmpty()) {
2011 TagObject(map->instance_descriptors(), "(map descriptors)"); 2011 TagObject(map->instance_descriptors(), "(map descriptors)");
2012 SetInternalReference(map, entry, 2012 SetInternalReference(map, entry,
2013 "descriptors", map->instance_descriptors(), 2013 "descriptors", map->instance_descriptors(),
2014 Map::kInstanceDescriptorsOrBitField3Offset); 2014 Map::kInstanceDescriptorsOrBackPointerOffset);
2015 } 2015 }
2016 SetInternalReference(map, entry, 2016 SetInternalReference(map, entry,
2017 "code_cache", map->code_cache(), 2017 "code_cache", map->code_cache(),
2018 Map::kCodeCacheOffset); 2018 Map::kCodeCacheOffset);
2019 } 2019 }
2020 2020
2021 2021
2022 void V8HeapExplorer::ExtractSharedFunctionInfoReferences( 2022 void V8HeapExplorer::ExtractSharedFunctionInfoReferences(
2023 int entry, SharedFunctionInfo* shared) { 2023 int entry, SharedFunctionInfo* shared) {
2024 HeapObject* obj = shared; 2024 HeapObject* obj = shared;
(...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after
3567 3567
3568 3568
3569 void HeapSnapshotJSONSerializer::SortHashMap( 3569 void HeapSnapshotJSONSerializer::SortHashMap(
3570 HashMap* map, List<HashMap::Entry*>* sorted_entries) { 3570 HashMap* map, List<HashMap::Entry*>* sorted_entries) {
3571 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) 3571 for (HashMap::Entry* p = map->Start(); p != NULL; p = map->Next(p))
3572 sorted_entries->Add(p); 3572 sorted_entries->Add(p);
3573 sorted_entries->Sort(SortUsingEntryValue); 3573 sorted_entries->Sort(SortUsingEntryValue);
3574 } 3574 }
3575 3575
3576 } } // namespace v8::internal 3576 } } // namespace v8::internal
OLDNEW
« src/objects-inl.h ('K') | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698