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

Side by Side Diff: src/code-factory.cc

Issue 2380973002: [stubs] replaced ToString MacroAssembler Stub with CodeStubAssembler builtin (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/v8/v8 into ToStringTFStub 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
« no previous file with comments | « src/builtins/x87/builtins-x87.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 } 184 }
185 185
186 // static 186 // static
187 Callable CodeFactory::StringToNumber(Isolate* isolate) { 187 Callable CodeFactory::StringToNumber(Isolate* isolate) {
188 return Callable(isolate->builtins()->StringToNumber(), 188 return Callable(isolate->builtins()->StringToNumber(),
189 TypeConversionDescriptor(isolate)); 189 TypeConversionDescriptor(isolate));
190 } 190 }
191 191
192 // static 192 // static
193 Callable CodeFactory::ToString(Isolate* isolate) { 193 Callable CodeFactory::ToString(Isolate* isolate) {
194 ToStringStub stub(isolate); 194 return Callable(isolate->builtins()->ToString(),
195 return make_callable(stub); 195 TypeConversionDescriptor(isolate));
196 } 196 }
197 197
198 // static 198 // static
199 Callable CodeFactory::ToName(Isolate* isolate) { 199 Callable CodeFactory::ToName(Isolate* isolate) {
200 return Callable(isolate->builtins()->ToName(), 200 return Callable(isolate->builtins()->ToName(),
201 TypeConversionDescriptor(isolate)); 201 TypeConversionDescriptor(isolate));
202 } 202 }
203 203
204 // static 204 // static
205 Callable CodeFactory::ToInteger(Isolate* isolate) { 205 Callable CodeFactory::ToInteger(Isolate* isolate) {
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 } 628 }
629 629
630 // static 630 // static
631 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 631 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
632 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 632 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
633 ContextOnlyDescriptor(isolate)); 633 ContextOnlyDescriptor(isolate));
634 } 634 }
635 635
636 } // namespace internal 636 } // namespace internal
637 } // namespace v8 637 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/x87/builtins-x87.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698