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 2019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2030 | 2030 |
2031 AllocationSiteOverrideMode override_mode() const { | 2031 AllocationSiteOverrideMode override_mode() const { |
2032 return AllocationSiteOverrideModeBits::decode(bit_field_); | 2032 return AllocationSiteOverrideModeBits::decode(bit_field_); |
2033 } | 2033 } |
2034 | 2034 |
2035 static void GenerateStubsAheadOfTime(Isolate* isolate); | 2035 static void GenerateStubsAheadOfTime(Isolate* isolate); |
2036 static void InstallDescriptors(Isolate* isolate); | 2036 static void InstallDescriptors(Isolate* isolate); |
2037 | 2037 |
2038 // Parameters accessed via CodeStubGraphBuilder::GetParameter() | 2038 // Parameters accessed via CodeStubGraphBuilder::GetParameter() |
2039 static const int kConstructor = 0; | 2039 static const int kConstructor = 0; |
2040 static const int kPropertyCell = 1; | 2040 static const int kAllocationSite = 1; |
2041 | 2041 |
2042 protected: | 2042 protected: |
2043 void BasePrintName(const char* name, StringStream* stream); | 2043 void BasePrintName(const char* name, StringStream* stream); |
2044 | 2044 |
2045 private: | 2045 private: |
2046 int NotMissMinorKey() { return bit_field_; } | 2046 int NotMissMinorKey() { return bit_field_; } |
2047 | 2047 |
2048 // Ensure data fits within available bits. | 2048 // Ensure data fits within available bits. |
2049 STATIC_ASSERT(LAST_ALLOCATION_SITE_OVERRIDE_MODE == 1); | 2049 STATIC_ASSERT(LAST_ALLOCATION_SITE_OVERRIDE_MODE == 1); |
2050 | 2050 |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2466 | 2466 |
2467 | 2467 |
2468 class CallDescriptors { | 2468 class CallDescriptors { |
2469 public: | 2469 public: |
2470 static void InitializeForIsolate(Isolate* isolate); | 2470 static void InitializeForIsolate(Isolate* isolate); |
2471 }; | 2471 }; |
2472 | 2472 |
2473 } } // namespace v8::internal | 2473 } } // namespace v8::internal |
2474 | 2474 |
2475 #endif // V8_CODE_STUBS_H_ | 2475 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |