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

Side by Side Diff: src/jump-target.h

Issue 16481: Copy of changelist from issue 16450. Converts compare operation... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: '' Created 11 years, 12 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/disasm-ia32.cc ('k') | src/jump-target-ia32.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Emit a jump to the target. There must be a current frame before the 92 // Emit a jump to the target. There must be a current frame before the
93 // jump and there will be no current frame after the jump. 93 // jump and there will be no current frame after the jump.
94 void Jump(); 94 void Jump();
95 void Jump(Result* arg); 95 void Jump(Result* arg);
96 96
97 // Emit a conditional branch to the target. If there is no current frame, 97 // Emit a conditional branch to the target. If there is no current frame,
98 // there must be one expected at the target. 98 // there must be one expected at the target.
99 void Branch(Condition cc, Hint hint = no_hint); 99 void Branch(Condition cc, Hint hint = no_hint);
100 void Branch(Condition cc, Result* arg, Hint hint = no_hint); 100 void Branch(Condition cc, Result* arg, Hint hint = no_hint);
101 void Branch(Condition cc, Result* arg0, Result* arg1, Hint hint = no_hint);
101 102
102 // Bind a jump target. There must be a current frame and no expected 103 // Bind a jump target. There must be a current frame and no expected
103 // frame at the target (targets are only bound once). 104 // frame at the target (targets are only bound once).
104 void Bind(); 105 void Bind();
105 void Bind(Result* arg); 106 void Bind(Result* arg);
107 void Bind(Result* arg0, Result* arg1);
106 108
107 // Emit a call to a jump target. There must be a current frame. The 109 // Emit a call to a jump target. There must be a current frame. The
108 // frame at the target is the same as the current frame except for an 110 // frame at the target is the same as the current frame except for an
109 // extra return address on top of it. 111 // extra return address on top of it.
110 void Call(); 112 void Call();
111 113
112 protected: 114 protected:
113 // The encapsulated assembler label. 115 // The encapsulated assembler label.
114 Label label_; 116 Label label_;
115 117
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 171
170 #ifdef DEBUG 172 #ifdef DEBUG
171 bool is_shadowing_; 173 bool is_shadowing_;
172 #endif 174 #endif
173 }; 175 };
174 176
175 177
176 } } // namespace v8::internal 178 } } // namespace v8::internal
177 179
178 #endif // V8_JUMP_TARGET_H_ 180 #endif // V8_JUMP_TARGET_H_
OLDNEW
« no previous file with comments | « src/disasm-ia32.cc ('k') | src/jump-target-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698