| 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_INT64_LOWERING_H_ | 5 #ifndef V8_COMPILER_INT64_LOWERING_H_ |
| 6 #define V8_COMPILER_INT64_LOWERING_H_ | 6 #define V8_COMPILER_INT64_LOWERING_H_ |
| 7 | 7 |
| 8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
| 10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
| 11 #include "src/compiler/node-marker.h" | 11 #include "src/compiler/node-marker.h" |
| 12 #include "src/globals.h" |
| 12 #include "src/zone/zone-containers.h" | 13 #include "src/zone/zone-containers.h" |
| 13 | 14 |
| 14 namespace v8 { | 15 namespace v8 { |
| 15 namespace internal { | 16 namespace internal { |
| 16 namespace compiler { | 17 namespace compiler { |
| 17 | 18 |
| 18 class Int64Lowering { | 19 class V8_EXPORT_PRIVATE Int64Lowering { |
| 19 public: | 20 public: |
| 20 Int64Lowering(Graph* graph, MachineOperatorBuilder* machine, | 21 Int64Lowering(Graph* graph, MachineOperatorBuilder* machine, |
| 21 CommonOperatorBuilder* common, Zone* zone, | 22 CommonOperatorBuilder* common, Zone* zone, |
| 22 Signature<MachineRepresentation>* signature); | 23 Signature<MachineRepresentation>* signature); |
| 23 | 24 |
| 24 void LowerGraph(); | 25 void LowerGraph(); |
| 25 | 26 |
| 26 static int GetParameterCountAfterLowering( | 27 static int GetParameterCountAfterLowering( |
| 27 Signature<MachineRepresentation>* signature); | 28 Signature<MachineRepresentation>* signature); |
| 28 | 29 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 Replacement* replacements_; | 74 Replacement* replacements_; |
| 74 Signature<MachineRepresentation>* signature_; | 75 Signature<MachineRepresentation>* signature_; |
| 75 Node* placeholder_; | 76 Node* placeholder_; |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace compiler | 79 } // namespace compiler |
| 79 } // namespace internal | 80 } // namespace internal |
| 80 } // namespace v8 | 81 } // namespace v8 |
| 81 | 82 |
| 82 #endif // V8_COMPILER_INT64_LOWERING_H_ | 83 #endif // V8_COMPILER_INT64_LOWERING_H_ |
| OLD | NEW |