Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Side by Side Diff: src/a64/lithium-gap-resolver-a64.h

Issue 143493006: A64: Eliminate static initializers (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: updates Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/a64/instructions-a64.cc ('k') | src/a64/lithium-gap-resolver-a64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Emit a move and remove it from the move graph. 65 // Emit a move and remove it from the move graph.
66 void EmitMove(int index); 66 void EmitMove(int index);
67 67
68 // Emit a move from one stack slot to another. 68 // Emit a move from one stack slot to another.
69 void EmitStackSlotMove(int index); 69 void EmitStackSlotMove(int index);
70 70
71 // Verify the move list before performing moves. 71 // Verify the move list before performing moves.
72 void Verify(); 72 void Verify();
73 73
74 // Register used to break cycle in moves list.
75 static const Register kSavedValue;
76
77 LCodeGen* cgen_; 74 LCodeGen* cgen_;
78 75
79 // List of moves not yet resolved. 76 // List of moves not yet resolved.
80 ZoneList<LMoveOperands> moves_; 77 ZoneList<LMoveOperands> moves_;
81 78
82 int root_index_; 79 int root_index_;
83 bool in_cycle_; 80 bool in_cycle_;
84 LOperand* saved_destination_; 81 LOperand* saved_destination_;
85 82
86 // We use the root register as a scratch in a few places. When that happens, 83 // We use the root register as a scratch in a few places. When that happens,
87 // this flag is set to indicate that it needs to be restored. 84 // this flag is set to indicate that it needs to be restored.
88 bool need_to_restore_root_; 85 bool need_to_restore_root_;
89 }; 86 };
90 87
91 } } // namespace v8::internal 88 } } // namespace v8::internal
92 89
93 #endif // V8_A64_LITHIUM_GAP_RESOLVER_A64_H_ 90 #endif // V8_A64_LITHIUM_GAP_RESOLVER_A64_H_
OLDNEW
« no previous file with comments | « src/a64/instructions-a64.cc ('k') | src/a64/lithium-gap-resolver-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698