| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 | 325 |
| 326 private: | 326 private: |
| 327 SetOncePointer<LEnvironment> environment_; | 327 SetOncePointer<LEnvironment> environment_; |
| 328 SetOncePointer<LPointerMap> pointer_map_; | 328 SetOncePointer<LPointerMap> pointer_map_; |
| 329 SetOncePointer<LOperand> result_; | 329 SetOncePointer<LOperand> result_; |
| 330 HValue* hydrogen_value_; | 330 HValue* hydrogen_value_; |
| 331 SetOncePointer<LEnvironment> deoptimization_environment_; | 331 SetOncePointer<LEnvironment> deoptimization_environment_; |
| 332 }; | 332 }; |
| 333 | 333 |
| 334 | 334 |
| 335 class LParallelMove : public ZoneObject { | |
| 336 public: | |
| 337 LParallelMove() : move_operands_(4) { } | |
| 338 | |
| 339 void AddMove(LOperand* from, LOperand* to) { | |
| 340 move_operands_.Add(LMoveOperands(from, to)); | |
| 341 } | |
| 342 | |
| 343 bool IsRedundant() const; | |
| 344 | |
| 345 const ZoneList<LMoveOperands>* move_operands() const { | |
| 346 return &move_operands_; | |
| 347 } | |
| 348 | |
| 349 void PrintDataTo(StringStream* stream) const; | |
| 350 | |
| 351 private: | |
| 352 ZoneList<LMoveOperands> move_operands_; | |
| 353 }; | |
| 354 | |
| 355 | |
| 356 class LGap: public LInstruction { | 335 class LGap: public LInstruction { |
| 357 public: | 336 public: |
| 358 explicit LGap(HBasicBlock* block) | 337 explicit LGap(HBasicBlock* block) |
| 359 : block_(block) { | 338 : block_(block) { |
| 360 parallel_moves_[BEFORE] = NULL; | 339 parallel_moves_[BEFORE] = NULL; |
| 361 parallel_moves_[START] = NULL; | 340 parallel_moves_[START] = NULL; |
| 362 parallel_moves_[END] = NULL; | 341 parallel_moves_[END] = NULL; |
| 363 parallel_moves_[AFTER] = NULL; | 342 parallel_moves_[AFTER] = NULL; |
| 364 } | 343 } |
| 365 | 344 |
| (...skipping 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2101 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2080 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2102 }; | 2081 }; |
| 2103 | 2082 |
| 2104 #undef DECLARE_HYDROGEN_ACCESSOR | 2083 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2105 #undef DECLARE_INSTRUCTION | 2084 #undef DECLARE_INSTRUCTION |
| 2106 #undef DECLARE_CONCRETE_INSTRUCTION | 2085 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2107 | 2086 |
| 2108 } } // namespace v8::internal | 2087 } } // namespace v8::internal |
| 2109 | 2088 |
| 2110 #endif // V8_ARM_LITHIUM_ARM_H_ | 2089 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |