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 1634 matching lines...) Loading... |
1645 return AllocationSiteModeBits::decode(bit_field_) | 1645 return AllocationSiteModeBits::decode(bit_field_) |
1646 ? TRACK_ALLOCATION_SITE | 1646 ? TRACK_ALLOCATION_SITE |
1647 : DONT_TRACK_ALLOCATION_SITE; | 1647 : DONT_TRACK_ALLOCATION_SITE; |
1648 } | 1648 } |
1649 | 1649 |
1650 virtual bool IsPregenerated() { return true; } | 1650 virtual bool IsPregenerated() { return true; } |
1651 static void GenerateStubsAheadOfTime(Isolate* isolate); | 1651 static void GenerateStubsAheadOfTime(Isolate* isolate); |
1652 static void InstallDescriptors(Isolate* isolate); | 1652 static void InstallDescriptors(Isolate* isolate); |
1653 | 1653 |
1654 // Parameters accessed via CodeStubGraphBuilder::GetParameter() | 1654 // Parameters accessed via CodeStubGraphBuilder::GetParameter() |
1655 static const int kPropertyCell = 0; | 1655 static const int kConstructor = 0; |
| 1656 static const int kPropertyCell = 1; |
1656 | 1657 |
1657 private: | 1658 private: |
1658 int NotMissMinorKey() { return bit_field_; } | 1659 int NotMissMinorKey() { return bit_field_; } |
1659 | 1660 |
1660 class ElementsKindBits: public BitField<ElementsKind, 0, 8> {}; | 1661 class ElementsKindBits: public BitField<ElementsKind, 0, 8> {}; |
1661 class AllocationSiteModeBits: public BitField<bool, 8, 1> {}; | 1662 class AllocationSiteModeBits: public BitField<bool, 8, 1> {}; |
1662 uint32_t bit_field_; | 1663 uint32_t bit_field_; |
1663 | 1664 |
1664 DISALLOW_COPY_AND_ASSIGN(ArrayConstructorStubBase); | 1665 DISALLOW_COPY_AND_ASSIGN(ArrayConstructorStubBase); |
1665 }; | 1666 }; |
(...skipping 284 matching lines...) Loading... |
1950 | 1951 |
1951 // The current function entry hook. | 1952 // The current function entry hook. |
1952 static FunctionEntryHook entry_hook_; | 1953 static FunctionEntryHook entry_hook_; |
1953 | 1954 |
1954 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 1955 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
1955 }; | 1956 }; |
1956 | 1957 |
1957 } } // namespace v8::internal | 1958 } } // namespace v8::internal |
1958 | 1959 |
1959 #endif // V8_CODE_STUBS_H_ | 1960 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |