| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 132 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 133 Label* map_check); | 133 Label* map_check); |
| 134 | 134 |
| 135 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); | 135 void DoCheckMapCommon(Register reg, Handle<Map> map, LInstruction* instr); |
| 136 | 136 |
| 137 // Parallel move support. | 137 // Parallel move support. |
| 138 void DoParallelMove(LParallelMove* move); | 138 void DoParallelMove(LParallelMove* move); |
| 139 void DoGap(LGap* instr); | 139 void DoGap(LGap* instr); |
| 140 | 140 |
| 141 // Emit frame translation commands for an environment. | 141 // Emit frame translation commands for an environment. |
| 142 void WriteTranslation(LEnvironment* environment, Translation* translation); | 142 void WriteTranslation(LEnvironment* environment, |
| 143 Translation* translation, |
| 144 int* arguments_index, |
| 145 int* arguments_count); |
| 143 | 146 |
| 144 // Declare methods that deal with the individual node types. | 147 // Declare methods that deal with the individual node types. |
| 145 #define DECLARE_DO(type) void Do##type(L##type* node); | 148 #define DECLARE_DO(type) void Do##type(L##type* node); |
| 146 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 149 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
| 147 #undef DECLARE_DO | 150 #undef DECLARE_DO |
| 148 | 151 |
| 149 private: | 152 private: |
| 150 enum Status { | 153 enum Status { |
| 151 UNUSED, | 154 UNUSED, |
| 152 GENERATING, | 155 GENERATING, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, | 246 void RegisterEnvironmentForDeoptimization(LEnvironment* environment, |
| 244 Safepoint::DeoptMode mode); | 247 Safepoint::DeoptMode mode); |
| 245 void DeoptimizeIf(Condition cc, | 248 void DeoptimizeIf(Condition cc, |
| 246 LEnvironment* environment, | 249 LEnvironment* environment, |
| 247 Deoptimizer::BailoutType bailout_type); | 250 Deoptimizer::BailoutType bailout_type); |
| 248 void DeoptimizeIf(Condition cc, LEnvironment* environment); | 251 void DeoptimizeIf(Condition cc, LEnvironment* environment); |
| 249 void SoftDeoptimize(LEnvironment* environment); | 252 void SoftDeoptimize(LEnvironment* environment); |
| 250 void AddToTranslation(Translation* translation, | 253 void AddToTranslation(Translation* translation, |
| 251 LOperand* op, | 254 LOperand* op, |
| 252 bool is_tagged, | 255 bool is_tagged, |
| 253 bool is_uint32); | 256 bool is_uint32, |
| 257 bool arguments_known, |
| 258 int arguments_index, |
| 259 int arguments_count); |
| 254 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | 260 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
| 255 void PopulateDeoptimizationData(Handle<Code> code); | 261 void PopulateDeoptimizationData(Handle<Code> code); |
| 256 int DefineDeoptimizationLiteral(Handle<Object> literal); | 262 int DefineDeoptimizationLiteral(Handle<Object> literal); |
| 257 | 263 |
| 258 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 264 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
| 259 | 265 |
| 260 Register ToRegister(int index) const; | 266 Register ToRegister(int index) const; |
| 261 XMMRegister ToDoubleRegister(int index) const; | 267 XMMRegister ToDoubleRegister(int index) const; |
| 262 Operand BuildFastArrayOperand( | 268 Operand BuildFastArrayOperand( |
| 263 LOperand* elements_pointer, | 269 LOperand* elements_pointer, |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 LCodeGen* codegen_; | 431 LCodeGen* codegen_; |
| 426 Label entry_; | 432 Label entry_; |
| 427 Label exit_; | 433 Label exit_; |
| 428 Label* external_exit_; | 434 Label* external_exit_; |
| 429 int instruction_index_; | 435 int instruction_index_; |
| 430 }; | 436 }; |
| 431 | 437 |
| 432 } } // namespace v8::internal | 438 } } // namespace v8::internal |
| 433 | 439 |
| 434 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 440 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |