| 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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 return schedule_; | 101 return schedule_; |
| 102 } | 102 } |
| 103 | 103 |
| 104 private: | 104 private: |
| 105 bool ScheduleValid() { return schedule_ != NULL; } | 105 bool ScheduleValid() { return schedule_ != NULL; } |
| 106 | 106 |
| 107 BasicBlock* Use(Label* label); | 107 BasicBlock* Use(Label* label); |
| 108 BasicBlock* EnsureBlock(Label* label); | 108 BasicBlock* EnsureBlock(Label* label); |
| 109 BasicBlock* CurrentBlock(); | 109 BasicBlock* CurrentBlock(); |
| 110 | 110 |
| 111 typedef std::vector<MachineType, zone_allocator<MachineType> > | |
| 112 RepresentationVector; | |
| 113 | |
| 114 Schedule* schedule_; | 111 Schedule* schedule_; |
| 115 MachineOperatorBuilder machine_; | 112 MachineOperatorBuilder machine_; |
| 116 CommonOperatorBuilder common_; | 113 CommonOperatorBuilder common_; |
| 117 MachineCallDescriptorBuilder* call_descriptor_builder_; | 114 MachineCallDescriptorBuilder* call_descriptor_builder_; |
| 118 Node** parameters_; | 115 Node** parameters_; |
| 119 Label exit_label_; | 116 Label exit_label_; |
| 120 BasicBlock* current_block_; | 117 BasicBlock* current_block_; |
| 121 | 118 |
| 122 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 119 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 123 }; | 120 }; |
| 124 | 121 |
| 125 } // namespace compiler | 122 } // namespace compiler |
| 126 } // namespace internal | 123 } // namespace internal |
| 127 } // namespace v8 | 124 } // namespace v8 |
| 128 | 125 |
| 129 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 126 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |