| 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/compiler/diamond.h" | 5 #include "src/compiler/diamond.h" |
| 6 #include "src/compiler/js-builtin-reducer.h" | 6 #include "src/compiler/js-builtin-reducer.h" |
| 7 #include "src/compiler/js-graph.h" | 7 #include "src/compiler/js-graph.h" |
| 8 #include "src/compiler/node-matchers.h" | 8 #include "src/compiler/node-matchers.h" |
| 9 #include "src/compiler/node-properties.h" | 9 #include "src/compiler/node-properties.h" |
| 10 #include "src/objects-inl.h" |
| 10 #include "src/types.h" | 11 #include "src/types.h" |
| 11 | 12 |
| 12 namespace v8 { | 13 namespace v8 { |
| 13 namespace internal { | 14 namespace internal { |
| 14 namespace compiler { | 15 namespace compiler { |
| 15 | 16 |
| 16 | 17 |
| 17 // Helper class to access JSCallFunction nodes that are potential candidates | 18 // Helper class to access JSCallFunction nodes that are potential candidates |
| 18 // for reduction when they have a BuiltinFunctionId associated with them. | 19 // for reduction when they have a BuiltinFunctionId associated with them. |
| 19 class JSCallReduction { | 20 class JSCallReduction { |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 180 } |
| 180 | 181 |
| 181 | 182 |
| 182 MachineOperatorBuilder* JSBuiltinReducer::machine() const { | 183 MachineOperatorBuilder* JSBuiltinReducer::machine() const { |
| 183 return jsgraph()->machine(); | 184 return jsgraph()->machine(); |
| 184 } | 185 } |
| 185 | 186 |
| 186 } // namespace compiler | 187 } // namespace compiler |
| 187 } // namespace internal | 188 } // namespace internal |
| 188 } // namespace v8 | 189 } // namespace v8 |
| OLD | NEW |