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

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

Issue 2303793002: Revert of [stubs] Port KeyedLoadIC_Generic stub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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-sharedarraybuffer.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 if (FLAG_tf_load_ic_stub) { 75 if (FLAG_tf_load_ic_stub) {
76 KeyedLoadICTFStub stub(isolate); 76 KeyedLoadICTFStub stub(isolate);
77 return make_callable(stub); 77 return make_callable(stub);
78 } 78 }
79 KeyedLoadICStub stub(isolate); 79 KeyedLoadICStub stub(isolate);
80 return make_callable(stub); 80 return make_callable(stub);
81 } 81 }
82 82
83 // static 83 // static
84 Callable CodeFactory::KeyedLoadIC_Megamorphic(Isolate* isolate) { 84 Callable CodeFactory::KeyedLoadIC_Megamorphic(Isolate* isolate) {
85 if (FLAG_tf_load_ic_stub) {
86 return Callable(isolate->builtins()->KeyedLoadIC_Megamorphic_TF(),
87 LoadWithVectorDescriptor(isolate));
88 }
89 return Callable(isolate->builtins()->KeyedLoadIC_Megamorphic(), 85 return Callable(isolate->builtins()->KeyedLoadIC_Megamorphic(),
90 LoadWithVectorDescriptor(isolate)); 86 LoadWithVectorDescriptor(isolate));
91 } 87 }
92 88
93 // static 89 // static
94 Callable CodeFactory::CallIC(Isolate* isolate, int argc, 90 Callable CodeFactory::CallIC(Isolate* isolate, int argc,
95 ConvertReceiverMode mode, 91 ConvertReceiverMode mode,
96 TailCallMode tail_call_mode) { 92 TailCallMode tail_call_mode) {
97 CallICTrampolineStub stub(isolate, CallICState(argc, mode, tail_call_mode)); 93 CallICTrampolineStub stub(isolate, CallICState(argc, mode, tail_call_mode));
98 return make_callable(stub); 94 return make_callable(stub);
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 } 608 }
613 609
614 // static 610 // static
615 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) { 611 Callable CodeFactory::InterpreterOnStackReplacement(Isolate* isolate) {
616 return Callable(isolate->builtins()->InterpreterOnStackReplacement(), 612 return Callable(isolate->builtins()->InterpreterOnStackReplacement(),
617 ContextOnlyDescriptor(isolate)); 613 ContextOnlyDescriptor(isolate));
618 } 614 }
619 615
620 } // namespace internal 616 } // namespace internal
621 } // namespace v8 617 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins-sharedarraybuffer.cc ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698