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 5030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5041 // Find the first map in an IC stub. | 5041 // Find the first map in an IC stub. |
5042 Map* FindFirstMap(); | 5042 Map* FindFirstMap(); |
5043 void FindAllMaps(MapHandleList* maps); | 5043 void FindAllMaps(MapHandleList* maps); |
5044 void ReplaceFirstMap(Map* replace); | 5044 void ReplaceFirstMap(Map* replace); |
5045 | 5045 |
5046 // Find the first handler in an IC stub. | 5046 // Find the first handler in an IC stub. |
5047 Code* FindFirstHandler(); | 5047 Code* FindFirstHandler(); |
5048 | 5048 |
5049 // Find |length| handlers and put them into |code_list|. Returns false if not | 5049 // Find |length| handlers and put them into |code_list|. Returns false if not |
5050 // enough handlers can be found. | 5050 // enough handlers can be found. |
5051 MUST_USE_RESULT bool FindHandlers(CodeHandleList* code_list, int length); | 5051 bool FindHandlers(CodeHandleList* code_list, int length = -1); |
5052 | 5052 |
5053 // Find the first name in an IC stub. | 5053 // Find the first name in an IC stub. |
5054 Name* FindFirstName(); | 5054 Name* FindFirstName(); |
5055 | 5055 |
5056 void ReplaceNthCell(int n, Cell* replace_with); | 5056 void ReplaceNthCell(int n, Cell* replace_with); |
5057 | 5057 |
5058 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; | 5058 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; |
5059 class ExtraICStateKeyedAccessStoreMode: | 5059 class ExtraICStateKeyedAccessStoreMode: |
5060 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT | 5060 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT |
5061 | 5061 |
(...skipping 5223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10285 } else { | 10285 } else { |
10286 value &= ~(1 << bit_position); | 10286 value &= ~(1 << bit_position); |
10287 } | 10287 } |
10288 return value; | 10288 return value; |
10289 } | 10289 } |
10290 }; | 10290 }; |
10291 | 10291 |
10292 } } // namespace v8::internal | 10292 } } // namespace v8::internal |
10293 | 10293 |
10294 #endif // V8_OBJECTS_H_ | 10294 #endif // V8_OBJECTS_H_ |
OLD | NEW |