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

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

Issue 2220513002: Revert of [turbofan] Add support for copy-on-write element stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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) {
514 return Callable(isolate->builtins()->CopyFixedArray(),
515 CopyFixedArrayDescriptor(isolate));
516 }
517
518 // static
519 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) { 513 Callable CodeFactory::AllocateHeapNumber(Isolate* isolate) {
520 AllocateHeapNumberStub stub(isolate); 514 AllocateHeapNumberStub stub(isolate);
521 return make_callable(stub); 515 return make_callable(stub);
522 } 516 }
523 517
524 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \ 518 #define SIMD128_ALLOC(TYPE, Type, type, lane_count, lane_type) \
525 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \ 519 Callable CodeFactory::Allocate##Type(Isolate* isolate) { \
526 Allocate##Type##Stub stub(isolate); \ 520 Allocate##Type##Stub stub(isolate); \
527 return make_callable(stub); \ 521 return make_callable(stub); \
528 } 522 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 } 590 }
597 591
598 // static 592 // static
599 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 593 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
600 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 594 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
601 ContextOnlyDescriptor(isolate)); 595 ContextOnlyDescriptor(isolate));
602 } 596 }
603 597
604 } // namespace internal 598 } // namespace internal
605 } // namespace v8 599 } // 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