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_ARM_LITHIUM_CODEGEN_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 6 #define V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
7 | 7 |
8 #include "arm/lithium-arm.h" | 8 #include "arm/lithium-arm.h" |
9 | 9 |
10 #include "arm/lithium-gap-resolver-arm.h" | 10 #include "arm/lithium-gap-resolver-arm.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // Parallel move support. | 126 // Parallel move support. |
127 void DoParallelMove(LParallelMove* move); | 127 void DoParallelMove(LParallelMove* move); |
128 void DoGap(LGap* instr); | 128 void DoGap(LGap* instr); |
129 | 129 |
130 MemOperand PrepareKeyedOperand(Register key, | 130 MemOperand PrepareKeyedOperand(Register key, |
131 Register base, | 131 Register base, |
132 bool key_is_constant, | 132 bool key_is_constant, |
133 int constant_key, | 133 int constant_key, |
134 int element_size, | 134 int element_size, |
135 int shift_size, | 135 int shift_size, |
136 int additional_index, | 136 int base_offset); |
137 int additional_offset); | |
138 | 137 |
139 // Emit frame translation commands for an environment. | 138 // Emit frame translation commands for an environment. |
140 void WriteTranslation(LEnvironment* environment, Translation* translation); | 139 void WriteTranslation(LEnvironment* environment, Translation* translation); |
141 | 140 |
142 // Declare methods that deal with the individual node types. | 141 // Declare methods that deal with the individual node types. |
143 #define DECLARE_DO(type) void Do##type(L##type* node); | 142 #define DECLARE_DO(type) void Do##type(L##type* node); |
144 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 143 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
145 #undef DECLARE_DO | 144 #undef DECLARE_DO |
146 | 145 |
147 private: | 146 private: |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 LCodeGen* codegen_; | 428 LCodeGen* codegen_; |
430 Label entry_; | 429 Label entry_; |
431 Label exit_; | 430 Label exit_; |
432 Label* external_exit_; | 431 Label* external_exit_; |
433 int instruction_index_; | 432 int instruction_index_; |
434 }; | 433 }; |
435 | 434 |
436 } } // namespace v8::internal | 435 } } // namespace v8::internal |
437 | 436 |
438 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 437 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |