OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 6673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6684 static const int kEntriesStart = 1; | 6684 static const int kEntriesStart = 1; |
6685 static const int kContextOffset = 0; | 6685 static const int kContextOffset = 0; |
6686 static const int kCachedCodeOffset = 1; | 6686 static const int kCachedCodeOffset = 1; |
6687 static const int kLiteralsOffset = 2; | 6687 static const int kLiteralsOffset = 2; |
6688 static const int kOsrAstIdOffset = 3; | 6688 static const int kOsrAstIdOffset = 3; |
6689 static const int kEntryLength = 4; | 6689 static const int kEntryLength = 4; |
6690 static const int kFirstContextSlot = FixedArray::kHeaderSize + | 6690 static const int kFirstContextSlot = FixedArray::kHeaderSize + |
6691 (kEntriesStart + kContextOffset) * kPointerSize; | 6691 (kEntriesStart + kContextOffset) * kPointerSize; |
6692 static const int kFirstCodeSlot = FixedArray::kHeaderSize + | 6692 static const int kFirstCodeSlot = FixedArray::kHeaderSize + |
6693 (kEntriesStart + kCachedCodeOffset) * kPointerSize; | 6693 (kEntriesStart + kCachedCodeOffset) * kPointerSize; |
| 6694 static const int kFirstLiteralsSlot = FixedArray::kHeaderSize + |
| 6695 (kEntriesStart + kLiteralsOffset) * kPointerSize; |
6694 static const int kFirstOsrAstIdSlot = FixedArray::kHeaderSize + | 6696 static const int kFirstOsrAstIdSlot = FixedArray::kHeaderSize + |
6695 (kEntriesStart + kOsrAstIdOffset) * kPointerSize; | 6697 (kEntriesStart + kOsrAstIdOffset) * kPointerSize; |
6696 static const int kSecondEntryIndex = kEntryLength + kEntriesStart; | 6698 static const int kSecondEntryIndex = kEntryLength + kEntriesStart; |
6697 static const int kInitialLength = kEntriesStart + kEntryLength; | 6699 static const int kInitialLength = kEntriesStart + kEntryLength; |
6698 | 6700 |
6699 // [scope_info]: Scope info. | 6701 // [scope_info]: Scope info. |
6700 DECL_ACCESSORS(scope_info, ScopeInfo) | 6702 DECL_ACCESSORS(scope_info, ScopeInfo) |
6701 | 6703 |
6702 // [construct stub]: Code stub for constructing instances of this function. | 6704 // [construct stub]: Code stub for constructing instances of this function. |
6703 DECL_ACCESSORS(construct_stub, Code) | 6705 DECL_ACCESSORS(construct_stub, Code) |
(...skipping 4071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10775 } else { | 10777 } else { |
10776 value &= ~(1 << bit_position); | 10778 value &= ~(1 << bit_position); |
10777 } | 10779 } |
10778 return value; | 10780 return value; |
10779 } | 10781 } |
10780 }; | 10782 }; |
10781 | 10783 |
10782 } } // namespace v8::internal | 10784 } } // namespace v8::internal |
10783 | 10785 |
10784 #endif // V8_OBJECTS_H_ | 10786 #endif // V8_OBJECTS_H_ |
OLD | NEW |