| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 161 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 162 Label* map_check); | 162 Label* map_check); |
| 163 | 163 |
| 164 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); | 164 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); |
| 165 | 165 |
| 166 // Parallel move support. | 166 // Parallel move support. |
| 167 void DoParallelMove(LParallelMove* move); | 167 void DoParallelMove(LParallelMove* move); |
| 168 void DoGap(LGap* instr); | 168 void DoGap(LGap* instr); |
| 169 | 169 |
| 170 // Emit frame translation commands for an environment. | 170 // Emit frame translation commands for an environment. |
| 171 void WriteTranslation(LEnvironment* environment, | 171 void WriteTranslation(LEnvironment* environment, Translation* translation); |
| 172 Translation* translation, | |
| 173 int* arguments_index, | |
| 174 int* arguments_count); | |
| 175 | 172 |
| 176 void EnsureRelocSpaceForDeoptimization(); | 173 void EnsureRelocSpaceForDeoptimization(); |
| 177 | 174 |
| 178 // Declare methods that deal with the individual node types. | 175 // Declare methods that deal with the individual node types. |
| 179 #define DECLARE_DO(type) void Do##type(L##type* node); | 176 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 180 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 177 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 181 #undef DECLARE_DO | 178 #undef DECLARE_DO |
| 182 | 179 |
| 183 private: | 180 private: |
| 184 enum Status { | 181 enum Status { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 Safepoint::DeoptMode mode); | 275 Safepoint::DeoptMode mode); |
| 279 void DeoptimizeIf(Condition cc, | 276 void DeoptimizeIf(Condition cc, |
| 280 LEnvironment* environment, | 277 LEnvironment* environment, |
| 281 Deoptimizer::BailoutType bailout_type); | 278 Deoptimizer::BailoutType bailout_type); |
| 282 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 279 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 283 void SoftDeoptimize(LEnvironment* environment); | 280 void SoftDeoptimize(LEnvironment* environment); |
| 284 | 281 |
| 285 void AddToTranslation(Translation* translation, | 282 void AddToTranslation(Translation* translation, |
| 286 LOperand* op, | 283 LOperand* op, |
| 287 bool is_tagged, | 284 bool is_tagged, |
| 288 bool is_uint32, | 285 bool is_uint32); |
| 289 bool arguments_known, | |
| 290 int arguments_index, | |
| 291 int arguments_count); | |
| 292 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 286 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
| 293 void PopulateDeoptimizationData(Handle<Code> code); | 287 void PopulateDeoptimizationData(Handle<Code> code); |
| 294 int DefineDeoptimizationLiteral(Handle<Object> literal); | 288 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| 295 | 289 |
| 296 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 290 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 297 | 291 |
| 298 Register ToRegister(int index) const; | 292 Register ToRegister(int index) const; |
| 299 XMMRegister ToDoubleRegister(int index) const; | 293 XMMRegister ToDoubleRegister(int index) const; |
| 300 int ToInteger32(LConstantOperand* op) const; | 294 int ToInteger32(LConstantOperand* op) const; |
| 301 | 295 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 LCodeGen* codegen_; | 475 LCodeGen* codegen_; |
| 482 Label entry_; | 476 Label entry_; |
| 483 Label exit_; | 477 Label exit_; |
| 484 Label* external_exit_; | 478 Label* external_exit_; |
| 485 int instruction_index_; | 479 int instruction_index_; |
| 486 }; | 480 }; |
| 487 | 481 |
| 488 } } // namespace v8::internal | 482 } } // namespace v8::internal |
| 489 | 483 |
| 490 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 484 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |