| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 7161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7172 kIsAnonymous, | 7172 kIsAnonymous, |
| 7173 kNameShouldPrintAsAnonymous, | 7173 kNameShouldPrintAsAnonymous, |
| 7174 kIsFunction, | 7174 kIsFunction, |
| 7175 kDontCache, | 7175 kDontCache, |
| 7176 kDontFlush, | 7176 kDontFlush, |
| 7177 kIsArrow, | 7177 kIsArrow, |
| 7178 kIsGenerator, | 7178 kIsGenerator, |
| 7179 kIsConciseMethod, | 7179 kIsConciseMethod, |
| 7180 kIsAccessorFunction, | 7180 kIsAccessorFunction, |
| 7181 kIsDefaultConstructor, | 7181 kIsDefaultConstructor, |
| 7182 kIsSubclassConstructor, |
| 7182 kIsBaseConstructor, | 7183 kIsBaseConstructor, |
| 7183 kIsSubclassConstructor, | |
| 7184 kIsAsmFunction, | 7184 kIsAsmFunction, |
| 7185 kDeserialized, | 7185 kDeserialized, |
| 7186 kCompilerHintsCount // Pseudo entry | 7186 kCompilerHintsCount // Pseudo entry |
| 7187 }; | 7187 }; |
| 7188 // Add hints for other modes when they're added. | 7188 // Add hints for other modes when they're added. |
| 7189 STATIC_ASSERT(LANGUAGE_END == 3); | 7189 STATIC_ASSERT(LANGUAGE_END == 3); |
| 7190 | 7190 |
| 7191 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 7> {}; | 7191 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 7> {}; |
| 7192 | 7192 |
| 7193 class DeoptCountBits : public BitField<int, 0, 4> {}; | 7193 class DeoptCountBits : public BitField<int, 0, 4> {}; |
| (...skipping 3736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10930 } else { | 10930 } else { |
| 10931 value &= ~(1 << bit_position); | 10931 value &= ~(1 << bit_position); |
| 10932 } | 10932 } |
| 10933 return value; | 10933 return value; |
| 10934 } | 10934 } |
| 10935 }; | 10935 }; |
| 10936 | 10936 |
| 10937 } } // namespace v8::internal | 10937 } } // namespace v8::internal |
| 10938 | 10938 |
| 10939 #endif // V8_OBJECTS_H_ | 10939 #endif // V8_OBJECTS_H_ |
| OLD | NEW |