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

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

Issue 1225004: Merge r4254 to trunk. (Closed)
Patch Set: Created 10 years, 9 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
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/jump-target.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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // jump and there will be no current frame after the jump. 110 // jump and there will be no current frame after the jump.
111 virtual void Jump(); 111 virtual void Jump();
112 virtual void Jump(Result* arg); 112 virtual void Jump(Result* arg);
113 113
114 // Emit a conditional branch to the target. There must be a current 114 // Emit a conditional branch to the target. There must be a current
115 // frame at the branch. The current frame will fall through to the 115 // frame at the branch. The current frame will fall through to the
116 // code after the branch. The arg is a result that is live both at 116 // code after the branch. The arg is a result that is live both at
117 // the target and the fall-through. 117 // the target and the fall-through.
118 virtual void Branch(Condition cc, Hint hint = no_hint); 118 virtual void Branch(Condition cc, Hint hint = no_hint);
119 virtual void Branch(Condition cc, Result* arg, Hint hint = no_hint); 119 virtual void Branch(Condition cc, Result* arg, Hint hint = no_hint);
120 virtual void Branch(Condition cc,
121 Result* arg0,
122 Result* arg1,
123 Hint hint = no_hint);
124 120
125 // Bind a jump target. If there is no current frame at the binding 121 // Bind a jump target. If there is no current frame at the binding
126 // site, there must be at least one frame reaching via a forward 122 // site, there must be at least one frame reaching via a forward
127 // jump. 123 // jump.
128 virtual void Bind(); 124 virtual void Bind();
129 virtual void Bind(Result* arg); 125 virtual void Bind(Result* arg);
130 virtual void Bind(Result* arg0, Result* arg1);
131 126
132 // Emit a call to a jump target. There must be a current frame at 127 // Emit a call to a jump target. There must be a current frame at
133 // the call. The frame at the target is the same as the current 128 // the call. The frame at the target is the same as the current
134 // frame except for an extra return address on top of it. The frame 129 // frame except for an extra return address on top of it. The frame
135 // after the call is the same as the frame before the call. 130 // after the call is the same as the frame before the call.
136 void Call(); 131 void Call();
137 132
138 static void set_compiling_deferred_code(bool flag) { 133 static void set_compiling_deferred_code(bool flag) {
139 compiling_deferred_code_ = flag; 134 compiling_deferred_code_ = flag;
140 } 135 }
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 bool is_shadowing_; 272 bool is_shadowing_;
278 #endif 273 #endif
279 274
280 DISALLOW_COPY_AND_ASSIGN(ShadowTarget); 275 DISALLOW_COPY_AND_ASSIGN(ShadowTarget);
281 }; 276 };
282 277
283 278
284 } } // namespace v8::internal 279 } } // namespace v8::internal
285 280
286 #endif // V8_JUMP_TARGET_H_ 281 #endif // V8_JUMP_TARGET_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/jump-target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698