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

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

Issue 2670843002: [stubs] Also port the CallICStub to CSA. (Closed)
Patch Set: Introduce FullCodeGenerator::IntFromSlot. Created 3 years, 10 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/code-factory.h ('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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 CallTrampolineDescriptor(isolate)); 391 CallTrampolineDescriptor(isolate));
392 } 392 }
393 393
394 // static 394 // static
395 Callable CodeFactory::CallWithSpread(Isolate* isolate) { 395 Callable CodeFactory::CallWithSpread(Isolate* isolate) {
396 return Callable(isolate->builtins()->CallWithSpread(), 396 return Callable(isolate->builtins()->CallWithSpread(),
397 CallTrampolineDescriptor(isolate)); 397 CallTrampolineDescriptor(isolate));
398 } 398 }
399 399
400 // static 400 // static
401 Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode) { 401 Callable CodeFactory::CallFunction(Isolate* isolate, ConvertReceiverMode mode,
402 return Callable(isolate->builtins()->CallFunction(mode), 402 TailCallMode tail_call_mode) {
403 return Callable(isolate->builtins()->CallFunction(mode, tail_call_mode),
403 CallTrampolineDescriptor(isolate)); 404 CallTrampolineDescriptor(isolate));
404 } 405 }
405 406
406 // static 407 // static
407 Callable CodeFactory::CallForwardVarargs(Isolate* isolate) { 408 Callable CodeFactory::CallForwardVarargs(Isolate* isolate) {
408 return Callable(isolate->builtins()->CallForwardVarargs(), 409 return Callable(isolate->builtins()->CallForwardVarargs(),
409 CallForwardVarargsDescriptor(isolate)); 410 CallForwardVarargsDescriptor(isolate));
410 } 411 }
411 412
412 // static 413 // static
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate)); 464 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate));
464 } 465 }
465 466
466 // static 467 // static
467 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 468 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
468 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 469 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
469 ContextOnlyDescriptor(isolate)); 470 ContextOnlyDescriptor(isolate));
470 } 471 }
471 472
472 // static 473 // static
474 Callable CodeFactory::ArrayConstructor(Isolate* isolate) {
475 ArrayConstructorStub stub(isolate);
476 return make_callable(stub);
477 }
478
479 // static
473 Callable CodeFactory::ArrayPush(Isolate* isolate) { 480 Callable CodeFactory::ArrayPush(Isolate* isolate) {
474 return Callable(isolate->builtins()->ArrayPush(), BuiltinDescriptor(isolate)); 481 return Callable(isolate->builtins()->ArrayPush(), BuiltinDescriptor(isolate));
475 } 482 }
476 483
477 // static 484 // static
478 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 485 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
479 return Callable(isolate->builtins()->FunctionPrototypeBind(), 486 return Callable(isolate->builtins()->FunctionPrototypeBind(),
480 BuiltinDescriptor(isolate)); 487 BuiltinDescriptor(isolate));
481 } 488 }
482 489
483 } // namespace internal 490 } // namespace internal
484 } // namespace v8 491 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698