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_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ | 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ |
6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ | 6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ |
7 | 7 |
8 #include "src/ast/scopes.h" | 8 #include "src/ast/scopes.h" |
9 #include "src/crankshaft/lithium-codegen.h" | 9 #include "src/crankshaft/lithium-codegen.h" |
10 #include "src/crankshaft/s390/lithium-gap-resolver-s390.h" | 10 #include "src/crankshaft/s390/lithium-gap-resolver-s390.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, Register result, | 109 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, Register result, |
110 Register object, Register index); | 110 Register object, Register index); |
111 | 111 |
112 // Parallel move support. | 112 // Parallel move support. |
113 void DoParallelMove(LParallelMove* move); | 113 void DoParallelMove(LParallelMove* move); |
114 void DoGap(LGap* instr); | 114 void DoGap(LGap* instr); |
115 | 115 |
116 MemOperand PrepareKeyedOperand(Register key, Register base, | 116 MemOperand PrepareKeyedOperand(Register key, Register base, |
117 bool key_is_constant, bool key_is_tagged, | 117 bool key_is_constant, bool key_is_tagged, |
118 int constant_key, int element_size_shift, | 118 int constant_key, int element_size_shift, |
119 int base_offset); | 119 int base_offset, |
| 120 bool keyMaybeNegative = true); |
120 | 121 |
121 // Emit frame translation commands for an environment. | 122 // Emit frame translation commands for an environment. |
122 void WriteTranslation(LEnvironment* environment, Translation* translation); | 123 void WriteTranslation(LEnvironment* environment, Translation* translation); |
123 | 124 |
124 // Declare methods that deal with the individual node types. | 125 // Declare methods that deal with the individual node types. |
125 #define DECLARE_DO(type) void Do##type(L##type* node); | 126 #define DECLARE_DO(type) void Do##type(L##type* node); |
126 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 127 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
127 #undef DECLARE_DO | 128 #undef DECLARE_DO |
128 | 129 |
129 private: | 130 private: |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 LCodeGen* codegen_; | 349 LCodeGen* codegen_; |
349 Label entry_; | 350 Label entry_; |
350 Label exit_; | 351 Label exit_; |
351 Label* external_exit_; | 352 Label* external_exit_; |
352 int instruction_index_; | 353 int instruction_index_; |
353 }; | 354 }; |
354 } // namespace internal | 355 } // namespace internal |
355 } // namespace v8 | 356 } // namespace v8 |
356 | 357 |
357 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ | 358 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ |
OLD | NEW |