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

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

Issue 2681273002: [turbofan] Utilize the fact that empty string is canonicalized. (Closed)
Patch Set: Feedback. Cleanup. Created 3 years, 10 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/effect-control-linearizer.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/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 JSOperatorBuilder* javascript() const; 92 JSOperatorBuilder* javascript() const;
93 CommonOperatorBuilder* common() const; 93 CommonOperatorBuilder* common() const;
94 SimplifiedOperatorBuilder* simplified() const; 94 SimplifiedOperatorBuilder* simplified() const;
95 CompilationDependencies* dependencies() const; 95 CompilationDependencies* dependencies() const;
96 Flags flags() const { return flags_; } 96 Flags flags() const { return flags_; }
97 97
98 CompilationDependencies* dependencies_; 98 CompilationDependencies* dependencies_;
99 Flags flags_; 99 Flags flags_;
100 JSGraph* jsgraph_; 100 JSGraph* jsgraph_;
101 Type* shifted_int32_ranges_[4]; 101 Type* shifted_int32_ranges_[4];
102 Type* pointer_comparable_type_;
102 TypeCache const& type_cache_; 103 TypeCache const& type_cache_;
103 }; 104 };
104 105
105 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) 106 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags)
106 107
107 } // namespace compiler 108 } // namespace compiler
108 } // namespace internal 109 } // namespace internal
109 } // namespace v8 110 } // namespace v8
110 111
111 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ 112 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_
OLDNEW
« no previous file with comments | « src/compiler/effect-control-linearizer.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698