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 1105 matching lines...) Loading... |
1116 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; | 1116 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
1117 | 1117 |
1118 private: | 1118 private: |
1119 virtual CodeStub::Major MajorKey() { return KeyedLoadField; } | 1119 virtual CodeStub::Major MajorKey() { return KeyedLoadField; } |
1120 }; | 1120 }; |
1121 | 1121 |
1122 | 1122 |
1123 class BinaryOpICStub : public HydrogenCodeStub { | 1123 class BinaryOpICStub : public HydrogenCodeStub { |
1124 public: | 1124 public: |
1125 BinaryOpICStub(Isolate* isolate, Token::Value op, OverwriteMode mode) | 1125 BinaryOpICStub(Isolate* isolate, Token::Value op, OverwriteMode mode) |
1126 : HydrogenCodeStub(isolate, UNINITIALIZED), state_(op, mode) {} | 1126 : HydrogenCodeStub(isolate, UNINITIALIZED), state_(isolate, op, mode) {} |
1127 | 1127 |
1128 BinaryOpICStub(Isolate* isolate, const BinaryOpIC::State& state) | 1128 BinaryOpICStub(Isolate* isolate, const BinaryOpIC::State& state) |
1129 : HydrogenCodeStub(isolate), state_(state) {} | 1129 : HydrogenCodeStub(isolate), state_(state) {} |
1130 | 1130 |
1131 static void GenerateAheadOfTime(Isolate* isolate); | 1131 static void GenerateAheadOfTime(Isolate* isolate); |
1132 | 1132 |
1133 virtual void InitializeInterfaceDescriptor( | 1133 virtual void InitializeInterfaceDescriptor( |
1134 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; | 1134 CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
1135 | 1135 |
1136 static void InstallDescriptors(Isolate* isolate); | 1136 static void InstallDescriptors(Isolate* isolate); |
(...skipping 1392 matching lines...) Loading... |
2529 | 2529 |
2530 | 2530 |
2531 class CallDescriptors { | 2531 class CallDescriptors { |
2532 public: | 2532 public: |
2533 static void InitializeForIsolate(Isolate* isolate); | 2533 static void InitializeForIsolate(Isolate* isolate); |
2534 }; | 2534 }; |
2535 | 2535 |
2536 } } // namespace v8::internal | 2536 } } // namespace v8::internal |
2537 | 2537 |
2538 #endif // V8_CODE_STUBS_H_ | 2538 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |