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 5220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5231 // Get the safepoint entry for the given pc. | 5231 // Get the safepoint entry for the given pc. |
5232 SafepointEntry GetSafepointEntry(Address pc); | 5232 SafepointEntry GetSafepointEntry(Address pc); |
5233 | 5233 |
5234 // Find an object in a stub with a specified map | 5234 // Find an object in a stub with a specified map |
5235 Object* FindNthObject(int n, Map* match_map); | 5235 Object* FindNthObject(int n, Map* match_map); |
5236 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); | 5236 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
5237 | 5237 |
5238 // Find the first map in an IC stub. | 5238 // Find the first map in an IC stub. |
5239 Map* FindFirstMap(); | 5239 Map* FindFirstMap(); |
5240 void FindAllMaps(MapHandleList* maps); | 5240 void FindAllMaps(MapHandleList* maps); |
| 5241 void FindAllTypes(TypeHandleList* types); |
5241 void ReplaceFirstMap(Map* replace); | 5242 void ReplaceFirstMap(Map* replace); |
5242 | 5243 |
5243 // Find the first handler in an IC stub. | 5244 // Find the first handler in an IC stub. |
5244 Code* FindFirstHandler(); | 5245 Code* FindFirstHandler(); |
5245 | 5246 |
5246 // Find |length| handlers and put them into |code_list|. Returns false if not | 5247 // Find |length| handlers and put them into |code_list|. Returns false if not |
5247 // enough handlers can be found. | 5248 // enough handlers can be found. |
5248 bool FindHandlers(CodeHandleList* code_list, int length = -1); | 5249 bool FindHandlers(CodeHandleList* code_list, int length = -1); |
5249 | 5250 |
5250 // Find the first name in an IC stub. | 5251 // Find the first name in an IC stub. |
(...skipping 5312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10563 } else { | 10564 } else { |
10564 value &= ~(1 << bit_position); | 10565 value &= ~(1 << bit_position); |
10565 } | 10566 } |
10566 return value; | 10567 return value; |
10567 } | 10568 } |
10568 }; | 10569 }; |
10569 | 10570 |
10570 } } // namespace v8::internal | 10571 } } // namespace v8::internal |
10571 | 10572 |
10572 #endif // V8_OBJECTS_H_ | 10573 #endif // V8_OBJECTS_H_ |
OLD | NEW |