| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ | 5 #ifndef V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ |
| 6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ | 6 #define V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ |
| 7 | 7 |
| 8 #include <cstring> | 8 #include <cstring> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 | 10 |
| 11 #include "src/allocation.h" | 11 #include "src/allocation.h" |
| 12 #include "src/ast/ast.h" |
| 12 #include "src/base/bits.h" | 13 #include "src/base/bits.h" |
| 13 #include "src/bit-vector.h" | 14 #include "src/bit-vector.h" |
| 14 #include "src/code-stubs.h" | 15 #include "src/code-stubs.h" |
| 15 #include "src/conversions.h" | 16 #include "src/conversions.h" |
| 16 #include "src/crankshaft/hydrogen-types.h" | 17 #include "src/crankshaft/hydrogen-types.h" |
| 17 #include "src/crankshaft/unique.h" | 18 #include "src/crankshaft/unique.h" |
| 18 #include "src/deoptimizer.h" | 19 #include "src/deoptimizer.h" |
| 19 #include "src/globals.h" | 20 #include "src/globals.h" |
| 20 #include "src/small-pointer-list.h" | 21 #include "src/small-pointer-list.h" |
| 21 #include "src/utils.h" | 22 #include "src/utils.h" |
| 22 #include "src/zone.h" | 23 #include "src/zone.h" |
| 23 | 24 |
| 24 namespace v8 { | 25 namespace v8 { |
| 25 namespace internal { | 26 namespace internal { |
| 26 | 27 |
| 27 // Forward declarations. | 28 // Forward declarations. |
| 28 struct ChangesOf; | 29 struct ChangesOf; |
| 29 class HBasicBlock; | 30 class HBasicBlock; |
| 30 class HDiv; | 31 class HDiv; |
| 31 class HEnvironment; | 32 class HEnvironment; |
| 32 class HInferRepresentationPhase; | 33 class HInferRepresentationPhase; |
| 33 class HInstruction; | 34 class HInstruction; |
| 34 class HLoopInformation; | 35 class HLoopInformation; |
| 35 class HStoreNamedField; | 36 class HStoreNamedField; |
| 36 class HValue; | 37 class HValue; |
| 37 class LInstruction; | 38 class LInstruction; |
| 38 class LChunkBuilder; | 39 class LChunkBuilder; |
| 40 class SmallMapList; |
| 39 | 41 |
| 40 #define HYDROGEN_ABSTRACT_INSTRUCTION_LIST(V) \ | 42 #define HYDROGEN_ABSTRACT_INSTRUCTION_LIST(V) \ |
| 41 V(ArithmeticBinaryOperation) \ | 43 V(ArithmeticBinaryOperation) \ |
| 42 V(BinaryOperation) \ | 44 V(BinaryOperation) \ |
| 43 V(BitwiseBinaryOperation) \ | 45 V(BitwiseBinaryOperation) \ |
| 44 V(ControlInstruction) \ | 46 V(ControlInstruction) \ |
| 45 V(Instruction) | 47 V(Instruction) |
| 46 | 48 |
| 47 | 49 |
| 48 #define HYDROGEN_CONCRETE_INSTRUCTION_LIST(V) \ | 50 #define HYDROGEN_CONCRETE_INSTRUCTION_LIST(V) \ |
| (...skipping 7078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7127 bool IsDeletable() const override { return true; } | 7129 bool IsDeletable() const override { return true; } |
| 7128 }; | 7130 }; |
| 7129 | 7131 |
| 7130 #undef DECLARE_INSTRUCTION | 7132 #undef DECLARE_INSTRUCTION |
| 7131 #undef DECLARE_CONCRETE_INSTRUCTION | 7133 #undef DECLARE_CONCRETE_INSTRUCTION |
| 7132 | 7134 |
| 7133 } // namespace internal | 7135 } // namespace internal |
| 7134 } // namespace v8 | 7136 } // namespace v8 |
| 7135 | 7137 |
| 7136 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ | 7138 #endif // V8_CRANKSHAFT_HYDROGEN_INSTRUCTIONS_H_ |
| OLD | NEW |