| 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_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| 7 | 7 |
| 8 #include "deoptimizer.h" | 8 #include "deoptimizer.h" |
| 9 #include "mips/lithium-gap-resolver-mips.h" | 9 #include "mips/lithium-gap-resolver-mips.h" |
| 10 #include "mips/lithium-mips.h" | 10 #include "mips/lithium-mips.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // Parallel move support. | 125 // Parallel move support. |
| 126 void DoParallelMove(LParallelMove* move); | 126 void DoParallelMove(LParallelMove* move); |
| 127 void DoGap(LGap* instr); | 127 void DoGap(LGap* instr); |
| 128 | 128 |
| 129 MemOperand PrepareKeyedOperand(Register key, | 129 MemOperand PrepareKeyedOperand(Register key, |
| 130 Register base, | 130 Register base, |
| 131 bool key_is_constant, | 131 bool key_is_constant, |
| 132 int constant_key, | 132 int constant_key, |
| 133 int element_size, | 133 int element_size, |
| 134 int shift_size, | 134 int shift_size, |
| 135 int additional_index, | 135 int base_offset); |
| 136 int additional_offset); | |
| 137 | 136 |
| 138 // Emit frame translation commands for an environment. | 137 // Emit frame translation commands for an environment. |
| 139 void WriteTranslation(LEnvironment* environment, Translation* translation); | 138 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 140 | 139 |
| 141 // Declare methods that deal with the individual node types. | 140 // Declare methods that deal with the individual node types. |
| 142 #define DECLARE_DO(type) void Do##type(L##type* node); | 141 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 143 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 142 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 144 #undef DECLARE_DO | 143 #undef DECLARE_DO |
| 145 | 144 |
| 146 private: | 145 private: |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 LCodeGen* codegen_; | 476 LCodeGen* codegen_; |
| 478 Label entry_; | 477 Label entry_; |
| 479 Label exit_; | 478 Label exit_; |
| 480 Label* external_exit_; | 479 Label* external_exit_; |
| 481 int instruction_index_; | 480 int instruction_index_; |
| 482 }; | 481 }; |
| 483 | 482 |
| 484 } } // namespace v8::internal | 483 } } // namespace v8::internal |
| 485 | 484 |
| 486 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 485 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |