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

Side by Side Diff: src/objects.h

Issue 25084005: Revert "Allow code to be cached in shared maps." due to GC stress crashes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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/objects.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 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 4966 matching lines...) Expand 10 before | Expand all | Expand 10 after
4977 // cache is passed to the stub. 4977 // cache is passed to the stub.
4978 inline bool has_function_cache(); 4978 inline bool has_function_cache();
4979 inline void set_has_function_cache(bool flag); 4979 inline void set_has_function_cache(bool flag);
4980 4980
4981 4981
4982 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether 4982 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether
4983 // the code is going to be deoptimized because of dead embedded maps. 4983 // the code is going to be deoptimized because of dead embedded maps.
4984 inline bool marked_for_deoptimization(); 4984 inline bool marked_for_deoptimization();
4985 inline void set_marked_for_deoptimization(bool flag); 4985 inline void set_marked_for_deoptimization(bool flag);
4986 4986
4987 bool allowed_in_shared_map_code_cache();
4988
4987 // Get the safepoint entry for the given pc. 4989 // Get the safepoint entry for the given pc.
4988 SafepointEntry GetSafepointEntry(Address pc); 4990 SafepointEntry GetSafepointEntry(Address pc);
4989 4991
4990 // Find an object in a stub with a specified map 4992 // Find an object in a stub with a specified map
4991 Object* FindNthObject(int n, Map* match_map); 4993 Object* FindNthObject(int n, Map* match_map);
4992 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); 4994 void ReplaceNthObject(int n, Map* match_map, Object* replace_with);
4993 4995
4994 // Find the first map in an IC stub. 4996 // Find the first map in an IC stub.
4995 Map* FindFirstMap(); 4997 Map* FindFirstMap();
4996 void FindAllMaps(MapHandleList* maps); 4998 void FindAllMaps(MapHandleList* maps);
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after
10235 } else { 10237 } else {
10236 value &= ~(1 << bit_position); 10238 value &= ~(1 << bit_position);
10237 } 10239 }
10238 return value; 10240 return value;
10239 } 10241 }
10240 }; 10242 };
10241 10243
10242 } } // namespace v8::internal 10244 } } // namespace v8::internal
10243 10245
10244 #endif // V8_OBJECTS_H_ 10246 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698