| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_CODE_STUBS_H_ | 5 #ifndef V8_CODE_STUBS_H_ |
| 6 #define V8_CODE_STUBS_H_ | 6 #define V8_CODE_STUBS_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/code-stub-assembler.h" | 10 #include "src/code-stub-assembler.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 V(MathPow) \ | 40 V(MathPow) \ |
| 41 V(ProfileEntryHook) \ | 41 V(ProfileEntryHook) \ |
| 42 V(RecordWrite) \ | 42 V(RecordWrite) \ |
| 43 V(RegExpExec) \ | 43 V(RegExpExec) \ |
| 44 V(StoreBufferOverflow) \ | 44 V(StoreBufferOverflow) \ |
| 45 V(StoreElement) \ | 45 V(StoreElement) \ |
| 46 V(StubFailureTrampoline) \ | 46 V(StubFailureTrampoline) \ |
| 47 V(SubString) \ | 47 V(SubString) \ |
| 48 V(ToNumber) \ | 48 V(ToNumber) \ |
| 49 V(NonNumberToNumber) \ | 49 V(NonNumberToNumber) \ |
| 50 V(StringToNumber) \ | |
| 51 V(ToString) \ | 50 V(ToString) \ |
| 52 V(ToName) \ | 51 V(ToName) \ |
| 53 V(ToObject) \ | 52 V(ToObject) \ |
| 54 V(VectorStoreICTrampoline) \ | 53 V(VectorStoreICTrampoline) \ |
| 55 V(VectorKeyedStoreICTrampoline) \ | 54 V(VectorKeyedStoreICTrampoline) \ |
| 56 V(VectorStoreIC) \ | 55 V(VectorStoreIC) \ |
| 57 V(VectorKeyedStoreIC) \ | 56 V(VectorKeyedStoreIC) \ |
| 58 /* HydrogenCodeStubs */ \ | 57 /* HydrogenCodeStubs */ \ |
| 59 V(ArrayNArgumentsConstructor) \ | 58 V(ArrayNArgumentsConstructor) \ |
| 60 V(BinaryOpIC) \ | 59 V(BinaryOpIC) \ |
| (...skipping 3165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3226 | 3225 |
| 3227 class NonNumberToNumberStub final : public PlatformCodeStub { | 3226 class NonNumberToNumberStub final : public PlatformCodeStub { |
| 3228 public: | 3227 public: |
| 3229 explicit NonNumberToNumberStub(Isolate* isolate) | 3228 explicit NonNumberToNumberStub(Isolate* isolate) |
| 3230 : PlatformCodeStub(isolate) {} | 3229 : PlatformCodeStub(isolate) {} |
| 3231 | 3230 |
| 3232 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); | 3231 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); |
| 3233 DEFINE_PLATFORM_CODE_STUB(NonNumberToNumber, PlatformCodeStub); | 3232 DEFINE_PLATFORM_CODE_STUB(NonNumberToNumber, PlatformCodeStub); |
| 3234 }; | 3233 }; |
| 3235 | 3234 |
| 3236 class StringToNumberStub final : public PlatformCodeStub { | |
| 3237 public: | |
| 3238 explicit StringToNumberStub(Isolate* isolate) : PlatformCodeStub(isolate) {} | |
| 3239 | |
| 3240 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); | |
| 3241 DEFINE_PLATFORM_CODE_STUB(StringToNumber, PlatformCodeStub); | |
| 3242 }; | |
| 3243 | |
| 3244 | |
| 3245 class ToStringStub final : public PlatformCodeStub { | 3235 class ToStringStub final : public PlatformCodeStub { |
| 3246 public: | 3236 public: |
| 3247 explicit ToStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} | 3237 explicit ToStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
| 3248 | 3238 |
| 3249 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); | 3239 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); |
| 3250 DEFINE_PLATFORM_CODE_STUB(ToString, PlatformCodeStub); | 3240 DEFINE_PLATFORM_CODE_STUB(ToString, PlatformCodeStub); |
| 3251 }; | 3241 }; |
| 3252 | 3242 |
| 3253 | 3243 |
| 3254 class ToNameStub final : public PlatformCodeStub { | 3244 class ToNameStub final : public PlatformCodeStub { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3274 #undef DEFINE_HYDROGEN_CODE_STUB | 3264 #undef DEFINE_HYDROGEN_CODE_STUB |
| 3275 #undef DEFINE_CODE_STUB | 3265 #undef DEFINE_CODE_STUB |
| 3276 #undef DEFINE_CODE_STUB_BASE | 3266 #undef DEFINE_CODE_STUB_BASE |
| 3277 | 3267 |
| 3278 extern Representation RepresentationFromType(Type* type); | 3268 extern Representation RepresentationFromType(Type* type); |
| 3279 | 3269 |
| 3280 } // namespace internal | 3270 } // namespace internal |
| 3281 } // namespace v8 | 3271 } // namespace v8 |
| 3282 | 3272 |
| 3283 #endif // V8_CODE_STUBS_H_ | 3273 #endif // V8_CODE_STUBS_H_ |
| OLD | NEW |