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

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

Issue 18745: Cleanup the rest of the experimental sources by filing issues and... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/toiger/
Patch Set: Created 11 years, 11 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 | « no previous file | 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 17 matching lines...) Expand all
28 #ifndef V8_JUMP_TARGET_H_ 28 #ifndef V8_JUMP_TARGET_H_
29 #define V8_JUMP_TARGET_H_ 29 #define V8_JUMP_TARGET_H_
30 30
31 #include "virtual-frame.h" 31 #include "virtual-frame.h"
32 32
33 namespace v8 { namespace internal { 33 namespace v8 { namespace internal {
34 34
35 // ------------------------------------------------------------------------- 35 // -------------------------------------------------------------------------
36 // Jump targets 36 // Jump targets
37 // 37 //
38 // TODO(): Update this comment.
39 //
40 // A jump target is an abstraction of a basic-block entry in generated 38 // A jump target is an abstraction of a basic-block entry in generated
41 // code. It collects all the virtual frames reaching the block by 39 // code. It collects all the virtual frames reaching the block by
42 // forward jumps and pairs them with labels for the merge code along 40 // forward jumps and pairs them with labels for the merge code along
43 // all forward-reaching paths. When bound, an expected frame for the 41 // all forward-reaching paths. When bound, an expected frame for the
44 // block is determined and code is generated to merge to the expected 42 // block is determined and code is generated to merge to the expected
45 // frame. For backward jumps, the merge code is generated at the edge 43 // frame. For backward jumps, the merge code is generated at the edge
46 // leaving the predecessor block. 44 // leaving the predecessor block.
47 // 45 //
48 // A jump target must have been reached via control flow (either by 46 // A jump target must have been reached via control flow (either by
49 // jumping, branching, or falling through) at the time it is bound. 47 // jumping, branching, or falling through) at the time it is bound.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 bool is_shadowing_; 212 bool is_shadowing_;
215 #endif 213 #endif
216 214
217 DISALLOW_COPY_AND_ASSIGN(ShadowTarget); 215 DISALLOW_COPY_AND_ASSIGN(ShadowTarget);
218 }; 216 };
219 217
220 218
221 } } // namespace v8::internal 219 } } // namespace v8::internal
222 220
223 #endif // V8_JUMP_TARGET_H_ 221 #endif // V8_JUMP_TARGET_H_
OLDNEW
« no previous file with comments | « no previous file | src/jump-target-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698