| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 4485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4496 class FunctionVariableMode | 4496 class FunctionVariableMode |
| 4497 : public BitField<VariableMode, FunctionVariableField::kNext, 3> {}; | 4497 : public BitField<VariableMode, FunctionVariableField::kNext, 3> {}; |
| 4498 class AsmModuleField : public BitField<bool, FunctionVariableMode::kNext, 1> { | 4498 class AsmModuleField : public BitField<bool, FunctionVariableMode::kNext, 1> { |
| 4499 }; | 4499 }; |
| 4500 class AsmFunctionField : public BitField<bool, AsmModuleField::kNext, 1> {}; | 4500 class AsmFunctionField : public BitField<bool, AsmModuleField::kNext, 1> {}; |
| 4501 class HasSimpleParametersField | 4501 class HasSimpleParametersField |
| 4502 : public BitField<bool, AsmFunctionField::kNext, 1> {}; | 4502 : public BitField<bool, AsmFunctionField::kNext, 1> {}; |
| 4503 class FunctionKindField | 4503 class FunctionKindField |
| 4504 : public BitField<FunctionKind, HasSimpleParametersField::kNext, 9> {}; | 4504 : public BitField<FunctionKind, HasSimpleParametersField::kNext, 9> {}; |
| 4505 | 4505 |
| 4506 // BitFields representing the encoded information for context locals in the | 4506 // Properties of variables. |
| 4507 // ContextLocalInfoEntries part. | 4507 class VariableModeField : public BitField<VariableMode, 0, 3> {}; |
| 4508 class ContextLocalMode: public BitField<VariableMode, 0, 3> {}; | 4508 class InitFlagField : public BitField<InitializationFlag, 3, 1> {}; |
| 4509 class ContextLocalInitFlag: public BitField<InitializationFlag, 3, 1> {}; | 4509 class MaybeAssignedFlagField : public BitField<MaybeAssignedFlag, 4, 1> {}; |
| 4510 class ContextLocalMaybeAssignedFlag | |
| 4511 : public BitField<MaybeAssignedFlag, 4, 1> {}; | |
| 4512 | 4510 |
| 4513 friend class ScopeIterator; | 4511 friend class ScopeIterator; |
| 4514 }; | 4512 }; |
| 4515 | 4513 |
| 4516 | 4514 |
| 4517 // The cache for maps used by normalized (dictionary mode) objects. | 4515 // The cache for maps used by normalized (dictionary mode) objects. |
| 4518 // Such maps do not have property descriptors, so a typical program | 4516 // Such maps do not have property descriptors, so a typical program |
| 4519 // needs very limited number of distinct normalized maps. | 4517 // needs very limited number of distinct normalized maps. |
| 4520 class NormalizedMapCache: public FixedArray { | 4518 class NormalizedMapCache: public FixedArray { |
| 4521 public: | 4519 public: |
| (...skipping 6651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11173 } | 11171 } |
| 11174 return value; | 11172 return value; |
| 11175 } | 11173 } |
| 11176 }; | 11174 }; |
| 11177 | 11175 |
| 11178 | 11176 |
| 11179 } // NOLINT, false-positive due to second-order macros. | 11177 } // NOLINT, false-positive due to second-order macros. |
| 11180 } // NOLINT, false-positive due to second-order macros. | 11178 } // NOLINT, false-positive due to second-order macros. |
| 11181 | 11179 |
| 11182 #endif // V8_OBJECTS_H_ | 11180 #endif // V8_OBJECTS_H_ |
| OLD | NEW |