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 1060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 | 1071 |
1072 explicit BinaryOpICStub(const BinaryOpIC::State& state) : state_(state) {} | 1072 explicit BinaryOpICStub(const BinaryOpIC::State& state) : state_(state) {} |
1073 | 1073 |
1074 static void GenerateAheadOfTime(Isolate* isolate); | 1074 static void GenerateAheadOfTime(Isolate* isolate); |
1075 | 1075 |
1076 virtual void InitializeInterfaceDescriptor( | 1076 virtual void InitializeInterfaceDescriptor( |
1077 Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; | 1077 Isolate* isolate, CodeStubInterfaceDescriptor* descriptor) V8_OVERRIDE; |
1078 | 1078 |
1079 static void InstallDescriptors(Isolate* isolate); | 1079 static void InstallDescriptors(Isolate* isolate); |
1080 | 1080 |
1081 virtual Code::Kind GetCodeKind() const V8_FINAL V8_OVERRIDE { | 1081 virtual Code::Kind GetCodeKind() const V8_OVERRIDE { |
1082 return Code::BINARY_OP_IC; | 1082 return Code::BINARY_OP_IC; |
1083 } | 1083 } |
1084 | 1084 |
1085 virtual InlineCacheState GetICState() V8_FINAL V8_OVERRIDE { | 1085 virtual InlineCacheState GetICState() V8_FINAL V8_OVERRIDE { |
1086 return state_.GetICState(); | 1086 return state_.GetICState(); |
1087 } | 1087 } |
1088 | 1088 |
1089 virtual ExtraICState GetExtraICState() V8_FINAL V8_OVERRIDE { | 1089 virtual ExtraICState GetExtraICState() V8_FINAL V8_OVERRIDE { |
1090 return state_.GetExtraICState(); | 1090 return state_.GetExtraICState(); |
1091 } | 1091 } |
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2447 int MinorKey() { return 0; } | 2447 int MinorKey() { return 0; } |
2448 | 2448 |
2449 void Generate(MacroAssembler* masm); | 2449 void Generate(MacroAssembler* masm); |
2450 | 2450 |
2451 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 2451 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
2452 }; | 2452 }; |
2453 | 2453 |
2454 } } // namespace v8::internal | 2454 } } // namespace v8::internal |
2455 | 2455 |
2456 #endif // V8_CODE_STUBS_H_ | 2456 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |