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

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

Issue 2733563002: [ic] Inline LoadIC into LdaNamedProperty bytecode handler (Closed)
Patch Set: Remove LoadFeedbackSlot Created 3 years, 9 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-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 #include "src/objects-inl.h" 9 #include "src/objects-inl.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return make_callable(stub); 50 return make_callable(stub);
51 } 51 }
52 52
53 // static 53 // static
54 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) { 54 Callable CodeFactory::LoadICInOptimizedCode(Isolate* isolate) {
55 return Callable(isolate->builtins()->LoadIC(), 55 return Callable(isolate->builtins()->LoadIC(),
56 LoadWithVectorDescriptor(isolate)); 56 LoadWithVectorDescriptor(isolate));
57 } 57 }
58 58
59 // static 59 // static
60 Callable CodeFactory::LoadICInOptimizedCode_Noninlined(Isolate* isolate) {
61 return Callable(isolate->builtins()->LoadIC_Noninlined(),
62 LoadWithVectorDescriptor(isolate));
63 }
64
65 // static
60 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) { 66 Callable CodeFactory::LoadGlobalIC(Isolate* isolate, TypeofMode typeof_mode) {
61 return Callable( 67 return Callable(
62 typeof_mode == NOT_INSIDE_TYPEOF 68 typeof_mode == NOT_INSIDE_TYPEOF
63 ? isolate->builtins()->LoadGlobalICTrampoline() 69 ? isolate->builtins()->LoadGlobalICTrampoline()
64 : isolate->builtins()->LoadGlobalICInsideTypeofTrampoline(), 70 : isolate->builtins()->LoadGlobalICInsideTypeofTrampoline(),
65 LoadGlobalDescriptor(isolate)); 71 LoadGlobalDescriptor(isolate));
66 } 72 }
67 73
68 // static 74 // static
69 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate, 75 Callable CodeFactory::LoadGlobalICInOptimizedCode(Isolate* isolate,
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 506 }
501 507
502 // static 508 // static
503 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) { 509 Callable CodeFactory::FunctionPrototypeBind(Isolate* isolate) {
504 return Callable(isolate->builtins()->FunctionPrototypeBind(), 510 return Callable(isolate->builtins()->FunctionPrototypeBind(),
505 BuiltinDescriptor(isolate)); 511 BuiltinDescriptor(isolate));
506 } 512 }
507 513
508 } // namespace internal 514 } // namespace internal
509 } // namespace v8 515 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-factory.h ('k') | src/code-stub-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698