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

Side by Side Diff: src/heap.h

Issue 2856089: Merge r5179 (Fix GCC 4.4.4 build) to trunk (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 10 years, 4 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/version.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 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 static inline Object* AllocateRawCell(); 1188 static inline Object* AllocateRawCell();
1189 1189
1190 // Initializes a JSObject based on its map. 1190 // Initializes a JSObject based on its map.
1191 static void InitializeJSObjectFromMap(JSObject* obj, 1191 static void InitializeJSObjectFromMap(JSObject* obj,
1192 FixedArray* properties, 1192 FixedArray* properties,
1193 Map* map); 1193 Map* map);
1194 1194
1195 static bool CreateInitialMaps(); 1195 static bool CreateInitialMaps();
1196 static bool CreateInitialObjects(); 1196 static bool CreateInitialObjects();
1197 1197
1198 // These four Create*EntryStub functions are here because of a gcc-4.4 bug 1198 // These four Create*EntryStub functions are here and forced to not be inlined
1199 // that assigns wrong vtable entries. 1199 // because of a gcc-4.4 bug that assigns wrong vtable entries.
1200 static void CreateCEntryStub(); 1200 NO_INLINE(static void CreateCEntryStub());
1201 static void CreateJSEntryStub(); 1201 NO_INLINE(static void CreateJSEntryStub());
1202 static void CreateJSConstructEntryStub(); 1202 NO_INLINE(static void CreateJSConstructEntryStub());
1203 static void CreateRegExpCEntryStub(); 1203 NO_INLINE(static void CreateRegExpCEntryStub());
1204 1204
1205 static void CreateFixedStubs(); 1205 static void CreateFixedStubs();
1206 1206
1207 static Object* CreateOddball(const char* to_string, Object* to_number); 1207 static Object* CreateOddball(const char* to_string, Object* to_number);
1208 1208
1209 // Allocate empty fixed array. 1209 // Allocate empty fixed array.
1210 static Object* AllocateEmptyFixedArray(); 1210 static Object* AllocateEmptyFixedArray();
1211 1211
1212 // Performs a minor collection in new generation. 1212 // Performs a minor collection in new generation.
1213 static void Scavenge(); 1213 static void Scavenge();
(...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 1975
1976 // To speed up scavenge collections new space string are kept 1976 // To speed up scavenge collections new space string are kept
1977 // separate from old space strings. 1977 // separate from old space strings.
1978 static List<Object*> new_space_strings_; 1978 static List<Object*> new_space_strings_;
1979 static List<Object*> old_space_strings_; 1979 static List<Object*> old_space_strings_;
1980 }; 1980 };
1981 1981
1982 } } // namespace v8::internal 1982 } } // namespace v8::internal
1983 1983
1984 #endif // V8_HEAP_H_ 1984 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698