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 FINAL 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 13 matching lines...) Expand all Loading... |
65 | 65 |
66 LCodeGen* cgen_; | 66 LCodeGen* cgen_; |
67 | 67 |
68 // List of moves not yet resolved. | 68 // List of moves not yet resolved. |
69 ZoneList<LMoveOperands> moves_; | 69 ZoneList<LMoveOperands> moves_; |
70 }; | 70 }; |
71 | 71 |
72 } } // namespace v8::internal | 72 } } // namespace v8::internal |
73 | 73 |
74 #endif // V8_X64_LITHIUM_GAP_RESOLVER_X64_H_ | 74 #endif // V8_X64_LITHIUM_GAP_RESOLVER_X64_H_ |
OLD | NEW |