OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 3712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3723 // Add padding to align the instruction start following right after | 3723 // Add padding to align the instruction start following right after |
3724 // the Code object header. | 3724 // the Code object header. |
3725 static const int kHeaderSize = | 3725 static const int kHeaderSize = |
3726 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; | 3726 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; |
3727 | 3727 |
3728 // Byte offsets within kKindSpecificFlagsOffset. | 3728 // Byte offsets within kKindSpecificFlagsOffset. |
3729 static const int kStubMajorKeyOffset = kKindSpecificFlagsOffset; | 3729 static const int kStubMajorKeyOffset = kKindSpecificFlagsOffset; |
3730 static const int kOptimizableOffset = kKindSpecificFlagsOffset; | 3730 static const int kOptimizableOffset = kKindSpecificFlagsOffset; |
3731 static const int kStackSlotsOffset = kKindSpecificFlagsOffset; | 3731 static const int kStackSlotsOffset = kKindSpecificFlagsOffset; |
3732 static const int kCheckTypeOffset = kKindSpecificFlagsOffset; | 3732 static const int kCheckTypeOffset = kKindSpecificFlagsOffset; |
3733 static const int kExternalArrayTypeOffset = kKindSpecificFlagsOffset; | |
3734 | 3733 |
3735 static const int kCompareStateOffset = kStubMajorKeyOffset + 1; | 3734 static const int kCompareStateOffset = kStubMajorKeyOffset + 1; |
3736 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1; | 3735 static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1; |
3737 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1; | 3736 static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1; |
3738 static const int kHasDeoptimizationSupportOffset = kOptimizableOffset + 1; | 3737 static const int kHasDeoptimizationSupportOffset = kOptimizableOffset + 1; |
3739 | 3738 |
3740 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1; | 3739 static const int kBinaryOpReturnTypeOffset = kBinaryOpTypeOffset + 1; |
3741 static const int kAllowOSRAtLoopNestingLevelOffset = | 3740 static const int kAllowOSRAtLoopNestingLevelOffset = |
3742 kHasDeoptimizationSupportOffset + 1; | 3741 kHasDeoptimizationSupportOffset + 1; |
3743 | 3742 |
(...skipping 3335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7079 } else { | 7078 } else { |
7080 value &= ~(1 << bit_position); | 7079 value &= ~(1 << bit_position); |
7081 } | 7080 } |
7082 return value; | 7081 return value; |
7083 } | 7082 } |
7084 }; | 7083 }; |
7085 | 7084 |
7086 } } // namespace v8::internal | 7085 } } // namespace v8::internal |
7087 | 7086 |
7088 #endif // V8_OBJECTS_H_ | 7087 #endif // V8_OBJECTS_H_ |
OLD | NEW |