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

Side by Side Diff: src/compiler/js-typed-lowering.h

Issue 1216593003: [turbofan] Optimize string "length" property access based on types. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE Created 5 years, 5 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/compiler/js-type-feedback-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('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 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ 6 #define V8_COMPILER_JS_TYPED_LOWERING_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 #include "src/compiler/opcodes.h" 9 #include "src/compiler/opcodes.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
(...skipping 24 matching lines...) Expand all
35 35
36 private: 36 private:
37 friend class JSBinopReduction; 37 friend class JSBinopReduction;
38 38
39 Reduction ReduceJSAdd(Node* node); 39 Reduction ReduceJSAdd(Node* node);
40 Reduction ReduceJSModulus(Node* node); 40 Reduction ReduceJSModulus(Node* node);
41 Reduction ReduceJSBitwiseOr(Node* node); 41 Reduction ReduceJSBitwiseOr(Node* node);
42 Reduction ReduceJSMultiply(Node* node); 42 Reduction ReduceJSMultiply(Node* node);
43 Reduction ReduceJSComparison(Node* node); 43 Reduction ReduceJSComparison(Node* node);
44 Reduction ReduceJSLoadGlobal(Node* node); 44 Reduction ReduceJSLoadGlobal(Node* node);
45 Reduction ReduceJSLoadNamed(Node* node);
45 Reduction ReduceJSLoadProperty(Node* node); 46 Reduction ReduceJSLoadProperty(Node* node);
46 Reduction ReduceJSStoreProperty(Node* node); 47 Reduction ReduceJSStoreProperty(Node* node);
47 Reduction ReduceJSLoadContext(Node* node); 48 Reduction ReduceJSLoadContext(Node* node);
48 Reduction ReduceJSStoreContext(Node* node); 49 Reduction ReduceJSStoreContext(Node* node);
49 Reduction ReduceJSLoadDynamicGlobal(Node* node); 50 Reduction ReduceJSLoadDynamicGlobal(Node* node);
50 Reduction ReduceJSLoadDynamicContext(Node* node); 51 Reduction ReduceJSLoadDynamicContext(Node* node);
51 Reduction ReduceJSEqual(Node* node, bool invert); 52 Reduction ReduceJSEqual(Node* node, bool invert);
52 Reduction ReduceJSStrictEqual(Node* node, bool invert); 53 Reduction ReduceJSStrictEqual(Node* node, bool invert);
53 Reduction ReduceJSUnaryNot(Node* node); 54 Reduction ReduceJSUnaryNot(Node* node);
54 Reduction ReduceJSToBoolean(Node* node); 55 Reduction ReduceJSToBoolean(Node* node);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 JSGraph* jsgraph_; 89 JSGraph* jsgraph_;
89 SimplifiedOperatorBuilder simplified_; 90 SimplifiedOperatorBuilder simplified_;
90 Type* shifted_int32_ranges_[4]; 91 Type* shifted_int32_ranges_[4];
91 }; 92 };
92 93
93 } // namespace compiler 94 } // namespace compiler
94 } // namespace internal 95 } // namespace internal
95 } // namespace v8 96 } // namespace v8
96 97
97 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 98 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/js-type-feedback-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698