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

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

Issue 2302923002: [stubs] Port ToName stub to TurboFan. (Closed)
Patch Set: Addressed nits. Created 4 years, 3 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/builtins-conversion.cc ('k') | src/code-stub-assembler.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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 182 }
183 183
184 // static 184 // static
185 Callable CodeFactory::ToString(Isolate* isolate) { 185 Callable CodeFactory::ToString(Isolate* isolate) {
186 ToStringStub stub(isolate); 186 ToStringStub stub(isolate);
187 return make_callable(stub); 187 return make_callable(stub);
188 } 188 }
189 189
190 // static 190 // static
191 Callable CodeFactory::ToName(Isolate* isolate) { 191 Callable CodeFactory::ToName(Isolate* isolate) {
192 ToNameStub stub(isolate); 192 return Callable(isolate->builtins()->ToName(),
193 return make_callable(stub); 193 TypeConversionDescriptor(isolate));
194 } 194 }
195 195
196 // static 196 // static
197 Callable CodeFactory::ToInteger(Isolate* isolate) { 197 Callable CodeFactory::ToInteger(Isolate* isolate) {
198 ToIntegerStub stub(isolate); 198 ToIntegerStub stub(isolate);
199 return make_callable(stub); 199 return make_callable(stub);
200 } 200 }
201 201
202 // static 202 // static
203 Callable CodeFactory::ToLength(Isolate* isolate) { 203 Callable CodeFactory::ToLength(Isolate* isolate) {
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 } 620 }
621 621
622 // static 622 // static
623 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 623 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
624 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 624 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
625 ContextOnlyDescriptor(isolate)); 625 ContextOnlyDescriptor(isolate));
626 } 626 }
627 627
628 } // namespace internal 628 } // namespace internal
629 } // namespace v8 629 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-conversion.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698