OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 MemOperand PrepareKeyedOperand(Register key, | 166 MemOperand PrepareKeyedOperand(Register key, |
167 Register base, | 167 Register base, |
168 bool key_is_constant, | 168 bool key_is_constant, |
169 int constant_key, | 169 int constant_key, |
170 int element_size, | 170 int element_size, |
171 int shift_size, | 171 int shift_size, |
172 int additional_index, | 172 int additional_index, |
173 int additional_offset); | 173 int additional_offset); |
174 | 174 |
175 // Emit frame translation commands for an environment. | 175 // Emit frame translation commands for an environment. |
176 void WriteTranslation(LEnvironment* environment, | 176 void WriteTranslation(LEnvironment* environment, Translation* translation); |
177 Translation* translation, | |
178 int* arguments_index, | |
179 int* arguments_count); | |
180 | 177 |
181 // Declare methods that deal with the individual node types. | 178 // Declare methods that deal with the individual node types. |
182 #define DECLARE_DO(type) void Do##type(L##type* node); | 179 #define DECLARE_DO(type) void Do##type(L##type* node); |
183 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 180 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
184 #undef DECLARE_DO | 181 #undef DECLARE_DO |
185 | 182 |
186 private: | 183 private: |
187 enum Status { | 184 enum Status { |
188 UNUSED, | 185 UNUSED, |
189 GENERATING, | 186 GENERATING, |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 Safepoint::DeoptMode mode); | 285 Safepoint::DeoptMode mode); |
289 void DeoptimizeIf(Condition cc, | 286 void DeoptimizeIf(Condition cc, |
290 LEnvironment* environment, | 287 LEnvironment* environment, |
291 Deoptimizer::BailoutType bailout_type); | 288 Deoptimizer::BailoutType bailout_type); |
292 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 289 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
293 void SoftDeoptimize(LEnvironment* environment); | 290 void SoftDeoptimize(LEnvironment* environment); |
294 | 291 |
295 void AddToTranslation(Translation* translation, | 292 void AddToTranslation(Translation* translation, |
296 LOperand* op, | 293 LOperand* op, |
297 bool is_tagged, | 294 bool is_tagged, |
298 bool is_uint32, | 295 bool is_uint32); |
299 bool arguments_known, | |
300 int arguments_index, | |
301 int arguments_count); | |
302 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 296 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
303 void PopulateDeoptimizationData(Handle<Code> code); | 297 void PopulateDeoptimizationData(Handle<Code> code); |
304 int DefineDeoptimizationLiteral(Handle<Object> literal); | 298 int DefineDeoptimizationLiteral(Handle<Object> literal); |
305 | 299 |
306 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 300 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
307 | 301 |
308 Register ToRegister(int index) const; | 302 Register ToRegister(int index) const; |
309 DwVfpRegister ToDoubleRegister(int index) const; | 303 DwVfpRegister ToDoubleRegister(int index) const; |
310 | 304 |
311 void EmitIntegerMathAbs(LMathAbs* instr); | 305 void EmitIntegerMathAbs(LMathAbs* instr); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 LCodeGen* codegen_; | 494 LCodeGen* codegen_; |
501 Label entry_; | 495 Label entry_; |
502 Label exit_; | 496 Label exit_; |
503 Label* external_exit_; | 497 Label* external_exit_; |
504 int instruction_index_; | 498 int instruction_index_; |
505 }; | 499 }; |
506 | 500 |
507 } } // namespace v8::internal | 501 } } // namespace v8::internal |
508 | 502 |
509 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 503 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |