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

Side by Side Diff: src/heap.h

Issue 1623008: Remove redundant null oddball initialization.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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 | « no previous file | src/heap.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1124 1124
1125 // These four Create*EntryStub functions are here because of a gcc-4.4 bug 1125 // These four Create*EntryStub functions are here because of a gcc-4.4 bug
1126 // that assigns wrong vtable entries. 1126 // that assigns wrong vtable entries.
1127 static void CreateCEntryStub(); 1127 static void CreateCEntryStub();
1128 static void CreateJSEntryStub(); 1128 static void CreateJSEntryStub();
1129 static void CreateJSConstructEntryStub(); 1129 static void CreateJSConstructEntryStub();
1130 static void CreateRegExpCEntryStub(); 1130 static void CreateRegExpCEntryStub();
1131 1131
1132 static void CreateFixedStubs(); 1132 static void CreateFixedStubs();
1133 1133
1134 static Object* CreateOddball(Map* map, 1134 static Object* CreateOddball(const char* to_string, Object* to_number);
1135 const char* to_string,
1136 Object* to_number);
1137 1135
1138 // Allocate empty fixed array. 1136 // Allocate empty fixed array.
1139 static Object* AllocateEmptyFixedArray(); 1137 static Object* AllocateEmptyFixedArray();
1140 1138
1141 // Performs a minor collection in new generation. 1139 // Performs a minor collection in new generation.
1142 static void Scavenge(); 1140 static void Scavenge();
1143 static void ScavengeExternalStringTable(); 1141 static void ScavengeExternalStringTable();
1144 static Address DoScavenge(ObjectVisitor* scavenge_visitor, 1142 static Address DoScavenge(ObjectVisitor* scavenge_visitor,
1145 Address new_space_front); 1143 Address new_space_front);
1146 1144
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 1804
1807 // To speed up scavenge collections new space string are kept 1805 // To speed up scavenge collections new space string are kept
1808 // separate from old space strings. 1806 // separate from old space strings.
1809 static List<Object*> new_space_strings_; 1807 static List<Object*> new_space_strings_;
1810 static List<Object*> old_space_strings_; 1808 static List<Object*> old_space_strings_;
1811 }; 1809 };
1812 1810
1813 } } // namespace v8::internal 1811 } } // namespace v8::internal
1814 1812
1815 #endif // V8_HEAP_H_ 1813 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698