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 7171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7182 kBoundFunction, | 7182 kBoundFunction, |
7183 kIsAnonymous, | 7183 kIsAnonymous, |
7184 kNameShouldPrintAsAnonymous, | 7184 kNameShouldPrintAsAnonymous, |
7185 kIsFunction, | 7185 kIsFunction, |
7186 kDontCache, | 7186 kDontCache, |
7187 kDontFlush, | 7187 kDontFlush, |
7188 kIsArrow, | 7188 kIsArrow, |
7189 kIsGenerator, | 7189 kIsGenerator, |
7190 kIsConciseMethod, | 7190 kIsConciseMethod, |
7191 kIsDefaultConstructor, | 7191 kIsDefaultConstructor, |
7192 kIsSublclassConstructor, | |
arv (Not doing code reviews)
2015/01/23 15:40:46
typo
Dmitry Lomov (no reviews)
2015/01/23 21:08:28
Done.
| |
7192 kIsAsmFunction, | 7193 kIsAsmFunction, |
7193 kDeserialized, | 7194 kDeserialized, |
7194 kCompilerHintsCount // Pseudo entry | 7195 kCompilerHintsCount // Pseudo entry |
7195 }; | 7196 }; |
7196 | 7197 |
7197 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 4> {}; | 7198 class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 5> {}; |
7198 | 7199 |
7199 class DeoptCountBits : public BitField<int, 0, 4> {}; | 7200 class DeoptCountBits : public BitField<int, 0, 4> {}; |
7200 class OptReenableTriesBits : public BitField<int, 4, 18> {}; | 7201 class OptReenableTriesBits : public BitField<int, 4, 18> {}; |
7201 class ICAgeBits : public BitField<int, 22, 8> {}; | 7202 class ICAgeBits : public BitField<int, 22, 8> {}; |
7202 | 7203 |
7203 class OptCountBits : public BitField<int, 0, 22> {}; | 7204 class OptCountBits : public BitField<int, 0, 22> {}; |
7204 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; | 7205 class DisabledOptimizationReasonBits : public BitField<int, 22, 8> {}; |
7205 | 7206 |
7206 private: | 7207 private: |
7207 #if V8_HOST_ARCH_32_BIT | 7208 #if V8_HOST_ARCH_32_BIT |
(...skipping 3720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
10928 } else { | 10929 } else { |
10929 value &= ~(1 << bit_position); | 10930 value &= ~(1 << bit_position); |
10930 } | 10931 } |
10931 return value; | 10932 return value; |
10932 } | 10933 } |
10933 }; | 10934 }; |
10934 | 10935 |
10935 } } // namespace v8::internal | 10936 } } // namespace v8::internal |
10936 | 10937 |
10937 #endif // V8_OBJECTS_H_ | 10938 #endif // V8_OBJECTS_H_ |
OLD | NEW |