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

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

Issue 1926023002: [turbofan] Run everything after representation selection concurrently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove some dead code. Created 4 years, 7 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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 508
509 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ 509 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
510 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \ 510 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \
511 Allocate##Type##Stub stub(isolate); \ 511 Allocate##Type##Stub stub(isolate); \
512 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); \ 512 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); \
513 } 513 }
514 SIMD128_TYPES(SIMD128_ALLOC) 514 SIMD128_TYPES(SIMD128_ALLOC)
515 #undef SIMD128_ALLOC 515 #undef SIMD128_ALLOC
516 516
517 // static 517 // static
518 Callable CodeFactory::Allocate(Isolate* isolate, PretenureFlag pretenure_flag) {
519 AllocateStub stub(isolate, pretenure_flag);
520 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor());
521 }
522
523 // static
524 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) { 518 Callable CodeFactory::ArgumentAdaptor(Isolate* isolate) {
525 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(), 519 return Callable(isolate->builtins()->ArgumentsAdaptorTrampoline(),
526 ArgumentAdaptorDescriptor(isolate)); 520 ArgumentAdaptorDescriptor(isolate));
527 } 521 }
528 522
529 523
530 // static 524 // static
531 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode, 525 Callable CodeFactory::Call(Isolate* isolate, ConvertReceiverMode mode,
532 TailCallMode tail_call_mode) { 526 TailCallMode tail_call_mode) {
533 return Callable(isolate->builtins()->Call(mode, tail_call_mode), 527 return Callable(isolate->builtins()->Call(mode, tail_call_mode),
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 // static 569 // static
576 Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) { 570 Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) {
577 // Note: If we ever use fpregs in the interpreter then we will need to 571 // Note: If we ever use fpregs in the interpreter then we will need to
578 // save fpregs too. 572 // save fpregs too.
579 CEntryStub stub(isolate, result_size, kDontSaveFPRegs, kArgvInRegister); 573 CEntryStub stub(isolate, result_size, kDontSaveFPRegs, kArgvInRegister);
580 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate)); 574 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate));
581 } 575 }
582 576
583 } // namespace internal 577 } // namespace internal
584 } // namespace v8 578 } // 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