| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 MemOperand PrepareKeyedOperand(Register key, | 162 MemOperand PrepareKeyedOperand(Register key, |
| 163 Register base, | 163 Register base, |
| 164 bool key_is_constant, | 164 bool key_is_constant, |
| 165 int constant_key, | 165 int constant_key, |
| 166 int element_size, | 166 int element_size, |
| 167 int shift_size, | 167 int shift_size, |
| 168 int additional_index, | 168 int additional_index, |
| 169 int additional_offset); | 169 int additional_offset); |
| 170 | 170 |
| 171 // Emit frame translation commands for an environment. | 171 // Emit frame translation commands for an environment. |
| 172 void WriteTranslation(LEnvironment* environment, | 172 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 173 Translation* translation, | |
| 174 int* arguments_index, | |
| 175 int* arguments_count); | |
| 176 | 173 |
| 177 // Declare methods that deal with the individual node types. | 174 // Declare methods that deal with the individual node types. |
| 178 #define DECLARE_DO(type) void Do##type(L##type* node); | 175 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 179 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 176 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 180 #undef DECLARE_DO | 177 #undef DECLARE_DO |
| 181 | 178 |
| 182 private: | 179 private: |
| 183 enum Status { | 180 enum Status { |
| 184 UNUSED, | 181 UNUSED, |
| 185 GENERATING, | 182 GENERATING, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 LEnvironment* environment, | 285 LEnvironment* environment, |
| 289 Register src1 = zero_reg, | 286 Register src1 = zero_reg, |
| 290 const Operand& src2 = Operand(zero_reg)); | 287 const Operand& src2 = Operand(zero_reg)); |
| 291 void SoftDeoptimize(LEnvironment* environment, | 288 void SoftDeoptimize(LEnvironment* environment, |
| 292 Register src1 = zero_reg, | 289 Register src1 = zero_reg, |
| 293 const Operand& src2 = Operand(zero_reg)); | 290 const Operand& src2 = Operand(zero_reg)); |
| 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 DoubleRegister ToDoubleRegister(int index) const; | 303 DoubleRegister ToDoubleRegister(int index) const; |
| 310 | 304 |
| 311 void EmitIntegerMathAbs(LMathAbs* instr); | 305 void EmitIntegerMathAbs(LMathAbs* instr); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 LCodeGen* codegen_; | 496 LCodeGen* codegen_; |
| 503 Label entry_; | 497 Label entry_; |
| 504 Label exit_; | 498 Label exit_; |
| 505 Label* external_exit_; | 499 Label* external_exit_; |
| 506 int instruction_index_; | 500 int instruction_index_; |
| 507 }; | 501 }; |
| 508 | 502 |
| 509 } } // namespace v8::internal | 503 } } // namespace v8::internal |
| 510 | 504 |
| 511 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 505 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
| OLD | NEW |