| 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 #include "src/code-factory.h" | 5 #include "src/code-factory.h" |
| 6 #include "src/compilation-dependencies.h" | 6 #include "src/compilation-dependencies.h" |
| 7 #include "src/compiler/access-builder.h" | 7 #include "src/compiler/access-builder.h" |
| 8 #include "src/compiler/js-graph.h" | 8 #include "src/compiler/js-graph.h" |
| 9 #include "src/compiler/js-typed-lowering.h" | 9 #include "src/compiler/js-typed-lowering.h" |
| 10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
| (...skipping 2107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2118 case IrOpcode::kNumberTrunc: | 2118 case IrOpcode::kNumberTrunc: |
| 2119 return ReduceNumberRoundop(node); | 2119 return ReduceNumberRoundop(node); |
| 2120 case IrOpcode::kLoadField: | 2120 case IrOpcode::kLoadField: |
| 2121 return ReduceLoadField(node); | 2121 return ReduceLoadField(node); |
| 2122 default: | 2122 default: |
| 2123 break; | 2123 break; |
| 2124 } | 2124 } |
| 2125 return NoChange(); | 2125 return NoChange(); |
| 2126 } | 2126 } |
| 2127 | 2127 |
| 2128 Node* JSTypedLowering::EmptyFrameState() { | |
| 2129 return graph()->NewNode( | |
| 2130 common()->FrameState(BailoutId::None(), OutputFrameStateCombine::Ignore(), | |
| 2131 nullptr), | |
| 2132 jsgraph()->EmptyStateValues(), jsgraph()->EmptyStateValues(), | |
| 2133 jsgraph()->EmptyStateValues(), jsgraph()->NoContextConstant(), | |
| 2134 jsgraph()->UndefinedConstant(), graph()->start()); | |
| 2135 } | |
| 2136 | 2128 |
| 2137 Factory* JSTypedLowering::factory() const { return jsgraph()->factory(); } | 2129 Factory* JSTypedLowering::factory() const { return jsgraph()->factory(); } |
| 2138 | 2130 |
| 2139 | 2131 |
| 2140 Graph* JSTypedLowering::graph() const { return jsgraph()->graph(); } | 2132 Graph* JSTypedLowering::graph() const { return jsgraph()->graph(); } |
| 2141 | 2133 |
| 2142 | 2134 |
| 2143 Isolate* JSTypedLowering::isolate() const { return jsgraph()->isolate(); } | 2135 Isolate* JSTypedLowering::isolate() const { return jsgraph()->isolate(); } |
| 2144 | 2136 |
| 2145 | 2137 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 2161 } | 2153 } |
| 2162 | 2154 |
| 2163 | 2155 |
| 2164 CompilationDependencies* JSTypedLowering::dependencies() const { | 2156 CompilationDependencies* JSTypedLowering::dependencies() const { |
| 2165 return dependencies_; | 2157 return dependencies_; |
| 2166 } | 2158 } |
| 2167 | 2159 |
| 2168 } // namespace compiler | 2160 } // namespace compiler |
| 2169 } // namespace internal | 2161 } // namespace internal |
| 2170 } // namespace v8 | 2162 } // namespace v8 |
| OLD | NEW |