Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Side by Side Diff: src/code-stubs.h

Issue 2380973002: [stubs] replaced ToString MacroAssembler Stub with CodeStubAssembler builtin (Closed)
Patch Set: completely removed ToStringStub Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 25 matching lines...) Expand all
36 V(InternalArrayConstructor) \ 36 V(InternalArrayConstructor) \
37 V(JSEntry) \ 37 V(JSEntry) \
38 V(LoadIndexedString) \ 38 V(LoadIndexedString) \
39 V(MathPow) \ 39 V(MathPow) \
40 V(ProfileEntryHook) \ 40 V(ProfileEntryHook) \
41 V(RecordWrite) \ 41 V(RecordWrite) \
42 V(RegExpExec) \ 42 V(RegExpExec) \
43 V(StoreBufferOverflow) \ 43 V(StoreBufferOverflow) \
44 V(StoreElement) \ 44 V(StoreElement) \
45 V(SubString) \ 45 V(SubString) \
46 V(ToString) \
47 V(StoreIC) \ 46 V(StoreIC) \
48 V(KeyedStoreIC) \ 47 V(KeyedStoreIC) \
49 V(KeyedLoadIC) \ 48 V(KeyedLoadIC) \
50 V(LoadIC) \ 49 V(LoadIC) \
51 V(LoadGlobalIC) \ 50 V(LoadGlobalIC) \
52 V(FastNewObject) \ 51 V(FastNewObject) \
53 V(FastNewRestParameter) \ 52 V(FastNewRestParameter) \
54 V(FastNewSloppyArguments) \ 53 V(FastNewSloppyArguments) \
55 V(FastNewStrictArguments) \ 54 V(FastNewStrictArguments) \
56 V(NameDictionaryLookup) \ 55 V(NameDictionaryLookup) \
(...skipping 3096 matching lines...) Expand 10 before | Expand all | Expand 10 after
3153 3152
3154 3153
3155 class SubStringStub : public PlatformCodeStub { 3154 class SubStringStub : public PlatformCodeStub {
3156 public: 3155 public:
3157 explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} 3156 explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
3158 3157
3159 DEFINE_CALL_INTERFACE_DESCRIPTOR(SubString); 3158 DEFINE_CALL_INTERFACE_DESCRIPTOR(SubString);
3160 DEFINE_PLATFORM_CODE_STUB(SubString, PlatformCodeStub); 3159 DEFINE_PLATFORM_CODE_STUB(SubString, PlatformCodeStub);
3161 }; 3160 };
3162 3161
3163 class ToStringStub final : public PlatformCodeStub {
3164 public:
3165 explicit ToStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
3166
3167 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion);
3168 DEFINE_PLATFORM_CODE_STUB(ToString, PlatformCodeStub);
3169 };
3170
3171 class ToObjectStub final : public TurboFanCodeStub { 3162 class ToObjectStub final : public TurboFanCodeStub {
3172 public: 3163 public:
3173 explicit ToObjectStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} 3164 explicit ToObjectStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
3174 3165
3175 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion); 3166 DEFINE_CALL_INTERFACE_DESCRIPTOR(TypeConversion);
3176 DEFINE_TURBOFAN_CODE_STUB(ToObject, TurboFanCodeStub); 3167 DEFINE_TURBOFAN_CODE_STUB(ToObject, TurboFanCodeStub);
3177 }; 3168 };
3178 3169
3179 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR 3170 #undef DEFINE_CALL_INTERFACE_DESCRIPTOR
3180 #undef DEFINE_PLATFORM_CODE_STUB 3171 #undef DEFINE_PLATFORM_CODE_STUB
3181 #undef DEFINE_HANDLER_CODE_STUB 3172 #undef DEFINE_HANDLER_CODE_STUB
3182 #undef DEFINE_HYDROGEN_CODE_STUB 3173 #undef DEFINE_HYDROGEN_CODE_STUB
3183 #undef DEFINE_CODE_STUB 3174 #undef DEFINE_CODE_STUB
3184 #undef DEFINE_CODE_STUB_BASE 3175 #undef DEFINE_CODE_STUB_BASE
3185 3176
3186 extern Representation RepresentationFromMachineType(MachineType type); 3177 extern Representation RepresentationFromMachineType(MachineType type);
3187 3178
3188 } // namespace internal 3179 } // namespace internal
3189 } // namespace v8 3180 } // namespace v8
3190 3181
3191 #endif // V8_CODE_STUBS_H_ 3182 #endif // V8_CODE_STUBS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698