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 22 matching lines...) Expand all Loading... |
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 BASE_EMBEDDED { |
42 public: | 42 public: |
43 | |
44 explicit LGapResolver(LCodeGen* owner); | 43 explicit LGapResolver(LCodeGen* owner); |
45 | 44 |
46 // Resolve a set of parallel moves, emitting assembler instructions. | 45 // Resolve a set of parallel moves, emitting assembler instructions. |
47 void Resolve(LParallelMove* parallel_move); | 46 void Resolve(LParallelMove* parallel_move); |
48 | 47 |
49 private: | 48 private: |
50 // Build the initial list of moves. | 49 // Build the initial list of moves. |
51 void BuildInitialMoveList(LParallelMove* parallel_move); | 50 void BuildInitialMoveList(LParallelMove* parallel_move); |
52 | 51 |
53 // Perform the move at the moves_ index in question (possibly requiring | 52 // Perform the move at the moves_ index in question (possibly requiring |
(...skipping 21 matching lines...) Expand all Loading... |
75 ZoneList<LMoveOperands> moves_; | 74 ZoneList<LMoveOperands> moves_; |
76 | 75 |
77 int root_index_; | 76 int root_index_; |
78 bool in_cycle_; | 77 bool in_cycle_; |
79 LOperand* saved_destination_; | 78 LOperand* saved_destination_; |
80 }; | 79 }; |
81 | 80 |
82 } } // namespace v8::internal | 81 } } // namespace v8::internal |
83 | 82 |
84 #endif // V8_ARM_LITHIUM_GAP_RESOLVER_ARM_H_ | 83 #endif // V8_ARM_LITHIUM_GAP_RESOLVER_ARM_H_ |
OLD | NEW |