| 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 20 matching lines...) Expand all  Loading... | 
| 31 #include "v8.h" | 31 #include "v8.h" | 
| 32 | 32 | 
| 33 #include "lithium.h" | 33 #include "lithium.h" | 
| 34 | 34 | 
| 35 namespace v8 { | 35 namespace v8 { | 
| 36 namespace internal { | 36 namespace internal { | 
| 37 | 37 | 
| 38 class LCodeGen; | 38 class LCodeGen; | 
| 39 class LGapResolver; | 39 class LGapResolver; | 
| 40 | 40 | 
| 41 class LGapResolver BASE_EMBEDDED { | 41 class LGapResolver V8_FINAL BASE_EMBEDDED { | 
| 42  public: | 42  public: | 
| 43   explicit LGapResolver(LCodeGen* owner); | 43   explicit LGapResolver(LCodeGen* owner); | 
| 44 | 44 | 
| 45   // Resolve a set of parallel moves, emitting assembler instructions. | 45   // Resolve a set of parallel moves, emitting assembler instructions. | 
| 46   void Resolve(LParallelMove* parallel_move); | 46   void Resolve(LParallelMove* parallel_move); | 
| 47 | 47 | 
| 48  private: | 48  private: | 
| 49   // Build the initial list of moves. | 49   // Build the initial list of moves. | 
| 50   void BuildInitialMoveList(LParallelMove* parallel_move); | 50   void BuildInitialMoveList(LParallelMove* parallel_move); | 
| 51 | 51 | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 74   ZoneList<LMoveOperands> moves_; | 74   ZoneList<LMoveOperands> moves_; | 
| 75 | 75 | 
| 76   int root_index_; | 76   int root_index_; | 
| 77   bool in_cycle_; | 77   bool in_cycle_; | 
| 78   LOperand* saved_destination_; | 78   LOperand* saved_destination_; | 
| 79 }; | 79 }; | 
| 80 | 80 | 
| 81 } }  // namespace v8::internal | 81 } }  // namespace v8::internal | 
| 82 | 82 | 
| 83 #endif  // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ | 83 #endif  // V8_MIPS_LITHIUM_GAP_RESOLVER_MIPS_H_ | 
| OLD | NEW | 
|---|