| 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 6946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6957 static const int kFlagsOffset = kSharedFunctionInfosOffset + kPointerSize; | 6957 static const int kFlagsOffset = kSharedFunctionInfosOffset + kPointerSize; |
| 6958 static const int kSourceUrlOffset = kFlagsOffset + kPointerSize; | 6958 static const int kSourceUrlOffset = kFlagsOffset + kPointerSize; |
| 6959 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; | 6959 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; |
| 6960 static const int kSize = kSourceMappingUrlOffset + kPointerSize; | 6960 static const int kSize = kSourceMappingUrlOffset + kPointerSize; |
| 6961 | 6961 |
| 6962 private: | 6962 private: |
| 6963 // Bit positions in the flags field. | 6963 // Bit positions in the flags field. |
| 6964 static const int kCompilationTypeBit = 0; | 6964 static const int kCompilationTypeBit = 0; |
| 6965 static const int kCompilationStateBit = 1; | 6965 static const int kCompilationStateBit = 1; |
| 6966 static const int kOriginOptionsShift = 2; | 6966 static const int kOriginOptionsShift = 2; |
| 6967 static const int kOriginOptionsSize = 3; | 6967 static const int kOriginOptionsSize = 4; |
| 6968 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) | 6968 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) |
| 6969 << kOriginOptionsShift; | 6969 << kOriginOptionsShift; |
| 6970 | 6970 |
| 6971 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); | 6971 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); |
| 6972 }; | 6972 }; |
| 6973 | 6973 |
| 6974 | 6974 |
| 6975 // List of builtin functions we want to identify to improve code | 6975 // List of builtin functions we want to identify to improve code |
| 6976 // generation. | 6976 // generation. |
| 6977 // | 6977 // |
| (...skipping 4670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11648 } | 11648 } |
| 11649 }; | 11649 }; |
| 11650 | 11650 |
| 11651 | 11651 |
| 11652 } // NOLINT, false-positive due to second-order macros. | 11652 } // NOLINT, false-positive due to second-order macros. |
| 11653 } // NOLINT, false-positive due to second-order macros. | 11653 } // NOLINT, false-positive due to second-order macros. |
| 11654 | 11654 |
| 11655 #include "src/objects/object-macros-undef.h" | 11655 #include "src/objects/object-macros-undef.h" |
| 11656 | 11656 |
| 11657 #endif // V8_OBJECTS_H_ | 11657 #endif // V8_OBJECTS_H_ |
| OLD | NEW |