OLD | NEW |
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 4970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4981 // cache is passed to the stub. | 4981 // cache is passed to the stub. |
4982 inline bool has_function_cache(); | 4982 inline bool has_function_cache(); |
4983 inline void set_has_function_cache(bool flag); | 4983 inline void set_has_function_cache(bool flag); |
4984 | 4984 |
4985 | 4985 |
4986 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether | 4986 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether |
4987 // the code is going to be deoptimized because of dead embedded maps. | 4987 // the code is going to be deoptimized because of dead embedded maps. |
4988 inline bool marked_for_deoptimization(); | 4988 inline bool marked_for_deoptimization(); |
4989 inline void set_marked_for_deoptimization(bool flag); | 4989 inline void set_marked_for_deoptimization(bool flag); |
4990 | 4990 |
4991 bool allowed_in_shared_map_code_cache(); | |
4992 | |
4993 // Get the safepoint entry for the given pc. | 4991 // Get the safepoint entry for the given pc. |
4994 SafepointEntry GetSafepointEntry(Address pc); | 4992 SafepointEntry GetSafepointEntry(Address pc); |
4995 | 4993 |
4996 // Find an object in a stub with a specified map | 4994 // Find an object in a stub with a specified map |
4997 Object* FindNthObject(int n, Map* match_map); | 4995 Object* FindNthObject(int n, Map* match_map); |
4998 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); | 4996 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
4999 | 4997 |
5000 // Find the first map in an IC stub. | 4998 // Find the first map in an IC stub. |
5001 Map* FindFirstMap(); | 4999 Map* FindFirstMap(); |
5002 void FindAllMaps(MapHandleList* maps); | 5000 void FindAllMaps(MapHandleList* maps); |
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10241 } else { | 10239 } else { |
10242 value &= ~(1 << bit_position); | 10240 value &= ~(1 << bit_position); |
10243 } | 10241 } |
10244 return value; | 10242 return value; |
10245 } | 10243 } |
10246 }; | 10244 }; |
10247 | 10245 |
10248 } } // namespace v8::internal | 10246 } } // namespace v8::internal |
10249 | 10247 |
10250 #endif // V8_OBJECTS_H_ | 10248 #endif // V8_OBJECTS_H_ |
OLD | NEW |