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 10113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10124 // Layout description. | 10124 // Layout description. |
10125 static const int kToNumberRawOffset = HeapObject::kHeaderSize; | 10125 static const int kToNumberRawOffset = HeapObject::kHeaderSize; |
10126 static const int kToStringOffset = kToNumberRawOffset + kDoubleSize; | 10126 static const int kToStringOffset = kToNumberRawOffset + kDoubleSize; |
10127 static const int kToNumberOffset = kToStringOffset + kPointerSize; | 10127 static const int kToNumberOffset = kToStringOffset + kPointerSize; |
10128 static const int kTypeOfOffset = kToNumberOffset + kPointerSize; | 10128 static const int kTypeOfOffset = kToNumberOffset + kPointerSize; |
10129 static const int kKindOffset = kTypeOfOffset + kPointerSize; | 10129 static const int kKindOffset = kTypeOfOffset + kPointerSize; |
10130 static const int kSize = kKindOffset + kPointerSize; | 10130 static const int kSize = kKindOffset + kPointerSize; |
10131 | 10131 |
10132 static const byte kFalse = 0; | 10132 static const byte kFalse = 0; |
10133 static const byte kTrue = 1; | 10133 static const byte kTrue = 1; |
10134 static const byte kNotBooleanMask = ~1; | 10134 static const byte kNotBooleanMask = static_cast<byte>(~1); |
10135 static const byte kTheHole = 2; | 10135 static const byte kTheHole = 2; |
10136 static const byte kNull = 3; | 10136 static const byte kNull = 3; |
10137 static const byte kArgumentsMarker = 4; | 10137 static const byte kArgumentsMarker = 4; |
10138 static const byte kUndefined = 5; | 10138 static const byte kUndefined = 5; |
10139 static const byte kUninitialized = 6; | 10139 static const byte kUninitialized = 6; |
10140 static const byte kOther = 7; | 10140 static const byte kOther = 7; |
10141 static const byte kException = 8; | 10141 static const byte kException = 8; |
10142 static const byte kOptimizedOut = 9; | 10142 static const byte kOptimizedOut = 9; |
10143 static const byte kStaleRegister = 10; | 10143 static const byte kStaleRegister = 10; |
10144 | 10144 |
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11575 } | 11575 } |
11576 }; | 11576 }; |
11577 | 11577 |
11578 | 11578 |
11579 } // NOLINT, false-positive due to second-order macros. | 11579 } // NOLINT, false-positive due to second-order macros. |
11580 } // NOLINT, false-positive due to second-order macros. | 11580 } // NOLINT, false-positive due to second-order macros. |
11581 | 11581 |
11582 #include "src/objects/object-macros-undef.h" | 11582 #include "src/objects/object-macros-undef.h" |
11583 | 11583 |
11584 #endif // V8_OBJECTS_H_ | 11584 #endif // V8_OBJECTS_H_ |
OLD | NEW |