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 3507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3518 static inline elementType defaultValue(); \ | 3518 static inline elementType defaultValue(); \ |
3519 }; \ | 3519 }; \ |
3520 \ | 3520 \ |
3521 typedef FixedTypedArray<Type##ArrayTraits> Fixed##Type##Array; | 3521 typedef FixedTypedArray<Type##ArrayTraits> Fixed##Type##Array; |
3522 | 3522 |
3523 TYPED_ARRAYS(FIXED_TYPED_ARRAY_TRAITS) | 3523 TYPED_ARRAYS(FIXED_TYPED_ARRAY_TRAITS) |
3524 | 3524 |
3525 #undef FIXED_TYPED_ARRAY_TRAITS | 3525 #undef FIXED_TYPED_ARRAY_TRAITS |
3526 | 3526 |
3527 // DeoptimizationInputData is a fixed array used to hold the deoptimization | 3527 // DeoptimizationInputData is a fixed array used to hold the deoptimization |
3528 // data for code generated by the Hydrogen/Lithium compiler. It also | 3528 // data for optimized code. It also contains information about functions that |
3529 // contains information about functions that were inlined. If N different | 3529 // were inlined. If N different functions were inlined then first N elements of |
3530 // functions were inlined then first N elements of the literal array will | 3530 // the literal array will contain these functions. |
3531 // contain these functions. | |
3532 // | 3531 // |
3533 // It can be empty. | 3532 // It can be empty. |
3534 class DeoptimizationInputData: public FixedArray { | 3533 class DeoptimizationInputData: public FixedArray { |
3535 public: | 3534 public: |
3536 // Layout description. Indices in the array. | 3535 // Layout description. Indices in the array. |
3537 static const int kTranslationByteArrayIndex = 0; | 3536 static const int kTranslationByteArrayIndex = 0; |
3538 static const int kInlinedFunctionCountIndex = 1; | 3537 static const int kInlinedFunctionCountIndex = 1; |
3539 static const int kLiteralArrayIndex = 2; | 3538 static const int kLiteralArrayIndex = 2; |
3540 static const int kOsrAstIdIndex = 3; | 3539 static const int kOsrAstIdIndex = 3; |
3541 static const int kOsrPcOffsetIndex = 4; | 3540 static const int kOsrPcOffsetIndex = 4; |
(...skipping 6729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10271 } | 10270 } |
10272 }; | 10271 }; |
10273 | 10272 |
10274 | 10273 |
10275 } // NOLINT, false-positive due to second-order macros. | 10274 } // NOLINT, false-positive due to second-order macros. |
10276 } // NOLINT, false-positive due to second-order macros. | 10275 } // NOLINT, false-positive due to second-order macros. |
10277 | 10276 |
10278 #include "src/objects/object-macros-undef.h" | 10277 #include "src/objects/object-macros-undef.h" |
10279 | 10278 |
10280 #endif // V8_OBJECTS_H_ | 10279 #endif // V8_OBJECTS_H_ |
OLD | NEW |