OLD | NEW |
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 Isolate* isolate() const; | 98 Isolate* isolate() const; |
99 JSOperatorBuilder* javascript() const; | 99 JSOperatorBuilder* javascript() const; |
100 CommonOperatorBuilder* common() const; | 100 CommonOperatorBuilder* common() const; |
101 SimplifiedOperatorBuilder* simplified() const; | 101 SimplifiedOperatorBuilder* simplified() const; |
102 CompilationDependencies* dependencies() const; | 102 CompilationDependencies* dependencies() const; |
103 Flags flags() const { return flags_; } | 103 Flags flags() const { return flags_; } |
104 | 104 |
105 CompilationDependencies* dependencies_; | 105 CompilationDependencies* dependencies_; |
106 Flags flags_; | 106 Flags flags_; |
107 JSGraph* jsgraph_; | 107 JSGraph* jsgraph_; |
| 108 Type* empty_string_type_; |
108 Type* shifted_int32_ranges_[4]; | 109 Type* shifted_int32_ranges_[4]; |
109 Type* pointer_comparable_type_; | 110 Type* pointer_comparable_type_; |
110 TypeCache const& type_cache_; | 111 TypeCache const& type_cache_; |
111 }; | 112 }; |
112 | 113 |
113 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) | 114 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) |
114 | 115 |
115 } // namespace compiler | 116 } // namespace compiler |
116 } // namespace internal | 117 } // namespace internal |
117 } // namespace v8 | 118 } // namespace v8 |
118 | 119 |
119 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 120 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |