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 4431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4442 static inline Flags ComputeFlags( | 4442 static inline Flags ComputeFlags( |
4443 Kind kind, | 4443 Kind kind, |
4444 InlineCacheState ic_state = UNINITIALIZED, | 4444 InlineCacheState ic_state = UNINITIALIZED, |
4445 ExtraICState extra_ic_state = kNoExtraICState, | 4445 ExtraICState extra_ic_state = kNoExtraICState, |
4446 StubType type = NORMAL, | 4446 StubType type = NORMAL, |
4447 int argc = -1, | 4447 int argc = -1, |
4448 InlineCacheHolderFlag holder = OWN_MAP); | 4448 InlineCacheHolderFlag holder = OWN_MAP); |
4449 | 4449 |
4450 static inline Flags ComputeMonomorphicFlags( | 4450 static inline Flags ComputeMonomorphicFlags( |
4451 Kind kind, | 4451 Kind kind, |
4452 StubType type, | |
4453 ExtraICState extra_ic_state = kNoExtraICState, | 4452 ExtraICState extra_ic_state = kNoExtraICState, |
4454 InlineCacheHolderFlag holder = OWN_MAP, | 4453 StubType type = NORMAL, |
4455 int argc = -1); | 4454 int argc = -1, |
| 4455 InlineCacheHolderFlag holder = OWN_MAP); |
4456 | 4456 |
4457 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); | 4457 static inline InlineCacheState ExtractICStateFromFlags(Flags flags); |
4458 static inline StubType ExtractTypeFromFlags(Flags flags); | 4458 static inline StubType ExtractTypeFromFlags(Flags flags); |
4459 static inline Kind ExtractKindFromFlags(Flags flags); | 4459 static inline Kind ExtractKindFromFlags(Flags flags); |
4460 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags); | 4460 static inline InlineCacheHolderFlag ExtractCacheHolderFromFlags(Flags flags); |
4461 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags); | 4461 static inline ExtraICState ExtractExtraICStateFromFlags(Flags flags); |
4462 static inline int ExtractArgumentsCountFromFlags(Flags flags); | 4462 static inline int ExtractArgumentsCountFromFlags(Flags flags); |
4463 | 4463 |
4464 static inline Flags RemoveTypeFromFlags(Flags flags); | 4464 static inline Flags RemoveTypeFromFlags(Flags flags); |
4465 | 4465 |
(...skipping 4419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8885 } else { | 8885 } else { |
8886 value &= ~(1 << bit_position); | 8886 value &= ~(1 << bit_position); |
8887 } | 8887 } |
8888 return value; | 8888 return value; |
8889 } | 8889 } |
8890 }; | 8890 }; |
8891 | 8891 |
8892 } } // namespace v8::internal | 8892 } } // namespace v8::internal |
8893 | 8893 |
8894 #endif // V8_OBJECTS_H_ | 8894 #endif // V8_OBJECTS_H_ |
OLD | NEW |