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 4961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4972 // cache is passed to the stub. | 4972 // cache is passed to the stub. |
4973 inline bool has_function_cache(); | 4973 inline bool has_function_cache(); |
4974 inline void set_has_function_cache(bool flag); | 4974 inline void set_has_function_cache(bool flag); |
4975 | 4975 |
4976 | 4976 |
4977 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether | 4977 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether |
4978 // the code is going to be deoptimized because of dead embedded maps. | 4978 // the code is going to be deoptimized because of dead embedded maps. |
4979 inline bool marked_for_deoptimization(); | 4979 inline bool marked_for_deoptimization(); |
4980 inline void set_marked_for_deoptimization(bool flag); | 4980 inline void set_marked_for_deoptimization(bool flag); |
4981 | 4981 |
4982 bool allowed_in_shared_map_code_cache(); | |
4983 | |
4984 // Get the safepoint entry for the given pc. | 4982 // Get the safepoint entry for the given pc. |
4985 SafepointEntry GetSafepointEntry(Address pc); | 4983 SafepointEntry GetSafepointEntry(Address pc); |
4986 | 4984 |
4987 // Find an object in a stub with a specified map | 4985 // Find an object in a stub with a specified map |
4988 Object* FindNthObject(int n, Map* match_map); | 4986 Object* FindNthObject(int n, Map* match_map); |
4989 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); | 4987 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
4990 | 4988 |
4991 // Find the first map in an IC stub. | 4989 // Find the first map in an IC stub. |
4992 Map* FindFirstMap(); | 4990 Map* FindFirstMap(); |
4993 void FindAllMaps(MapHandleList* maps); | 4991 void FindAllMaps(MapHandleList* maps); |
(...skipping 5238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10232 } else { | 10230 } else { |
10233 value &= ~(1 << bit_position); | 10231 value &= ~(1 << bit_position); |
10234 } | 10232 } |
10235 return value; | 10233 return value; |
10236 } | 10234 } |
10237 }; | 10235 }; |
10238 | 10236 |
10239 } } // namespace v8::internal | 10237 } } // namespace v8::internal |
10240 | 10238 |
10241 #endif // V8_OBJECTS_H_ | 10239 #endif // V8_OBJECTS_H_ |
OLD | NEW |