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

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

Issue 2227493002: [turbofan] Add initial support for growing stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments. Created 4 years, 4 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/compiler/effect-control-linearizer.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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 } 503 }
504 504
505 // static 505 // static
506 Callable CodeFactory::FastNewStrictArguments(Isolate* isolate, 506 Callable CodeFactory::FastNewStrictArguments(Isolate* isolate,
507 bool skip_stub_frame) { 507 bool skip_stub_frame) {
508 FastNewStrictArgumentsStub stub(isolate, skip_stub_frame); 508 FastNewStrictArgumentsStub stub(isolate, skip_stub_frame);
509 return make_callable(stub); 509 return make_callable(stub);
510 } 510 }
511 511
512 // static 512 // static
513 Callable CodeFactory::CopyFixedArray(Isolate* isolate) { 513 Callable CodeFactory::CopyFastSmiOrObjectElements(Isolate* isolate) {
514 return Callable(isolate->builtins()->CopyFixedArray(), 514 return Callable(isolate->builtins()->CopyFastSmiOrObjectElements(),
515 CopyFixedArrayDescriptor(isolate)); 515 CopyFastSmiOrObjectElementsDescriptor(isolate));
516 } 516 }
517 517
518 // static 518 // static
519 Callable CodeFactory::GrowFastDoubleElements(Isolate* isolate) {
520 return Callable(isolate->builtins()->GrowFastDoubleElements(),
521 GrowArrayElementsDescriptor(isolate));
522 }
523
524 // static
525 Callable CodeFactory::GrowFastSmiOrObjectElements(Isolate* isolate) {
526 return Callable(isolate->builtins()->GrowFastSmiOrObjectElements(),
527 GrowArrayElementsDescriptor(isolate));
528 }
529
530 // static
519 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) { 531 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) {
520 AllocateHeapNumberStub stub(isolate); 532 AllocateHeapNumberStub stub(isolate);
521 return make_callable(stub); 533 return make_callable(stub);
522 } 534 }
523 535
524 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ 536 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
525 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \ 537 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \
526 Allocate##Type##Stub stub(isolate); \ 538 Allocate##Type##Stub stub(isolate); \
527 return make_callable(stub); \ 539 return make_callable(stub); \
528 } 540 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 } 608 }
597 609
598 // static 610 // static
599 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 611 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
600 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 612 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
601 ContextOnlyDescriptor(isolate)); 613 ContextOnlyDescriptor(isolate));
602 } 614 }
603 615
604 } // namespace internal 616 } // namespace internal
605 } // namespace v8 617 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/compiler/effect-control-linearizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698