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 5242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5253 Kind kind, | 5253 Kind kind, |
5254 InlineCacheState ic_state = UNINITIALIZED, | 5254 InlineCacheState ic_state = UNINITIALIZED, |
5255 ExtraICState extra_ic_state = kNoExtraICState, | 5255 ExtraICState extra_ic_state = kNoExtraICState, |
5256 StubType type = NORMAL, | 5256 StubType type = NORMAL, |
5257 int argc = -1, | 5257 int argc = -1, |
5258 InlineCacheHolderFlag holder = OWN_MAP); | 5258 InlineCacheHolderFlag holder = OWN_MAP); |
5259 | 5259 |
5260 static inline Flags ComputeMonomorphicFlags( | 5260 static inline Flags ComputeMonomorphicFlags( |
5261 Kind kind, | 5261 Kind kind, |
5262 ExtraICState extra_ic_state = kNoExtraICState, | 5262 ExtraICState extra_ic_state = kNoExtraICState, |
| 5263 InlineCacheHolderFlag holder = OWN_MAP, |
5263 StubType type = NORMAL, | 5264 StubType type = NORMAL, |
5264 int argc = -1, | 5265 int argc = -1); |
5265 InlineCacheHolderFlag holder = OWN_MAP); | |
5266 | 5266 |
5267 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); | 5267 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); |
5268 static inline StubType ExtractTypeFromFlags(Flags flags); | 5268 static inline StubType ExtractTypeFromFlags(Flags flags); |
5269 static inline Kind ExtractKindFromFlags(Flags flags); | 5269 static inline Kind ExtractKindFromFlags(Flags flags); |
5270 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags); | 5270 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags); |
5271 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags); | 5271 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags); |
5272 static inline ExtraICState ExtractExtendedExtraICStateFromFlags(Flags flags); | 5272 static inline ExtraICState ExtractExtendedExtraICStateFromFlags(Flags flags); |
5273 static inline int ExtractArgumentsCountFromFlags(Flags flags); | 5273 static inline int ExtractArgumentsCountFromFlags(Flags flags); |
5274 | 5274 |
5275 static inline Flags RemoveTypeFromFlags(Flags flags); | 5275 static inline Flags RemoveTypeFromFlags(Flags flags); |
(...skipping 5209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10485 } else { | 10485 } else { |
10486 value &= ~(1 << bit_position); | 10486 value &= ~(1 << bit_position); |
10487 } | 10487 } |
10488 return value; | 10488 return value; |
10489 } | 10489 } |
10490 }; | 10490 }; |
10491 | 10491 |
10492 } } // namespace v8::internal | 10492 } } // namespace v8::internal |
10493 | 10493 |
10494 #endif // V8_OBJECTS_H_ | 10494 #endif // V8_OBJECTS_H_ |
OLD | NEW |