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/liveedit.h

Issue 6931031: A tiny contribution for the IWYU day: Include allocation.h in every (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 7 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/lithium-allocator.h ('k') | src/log.h » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Implementation first determines, which function's body includes this 42 // Implementation first determines, which function's body includes this
43 // change area. Then both old and new versions of script are fully compiled 43 // change area. Then both old and new versions of script are fully compiled
44 // in order to analyze, whether the function changed its outer scope 44 // in order to analyze, whether the function changed its outer scope
45 // expectations (or number of parameters). If it didn't, function's code is 45 // expectations (or number of parameters). If it didn't, function's code is
46 // patched with a newly compiled code. If it did change, enclosing function 46 // patched with a newly compiled code. If it did change, enclosing function
47 // gets patched. All inner functions are left untouched, whatever happened 47 // gets patched. All inner functions are left untouched, whatever happened
48 // to them in a new script version. However, new version of code will 48 // to them in a new script version. However, new version of code will
49 // instantiate newly compiled functions. 49 // instantiate newly compiled functions.
50 50
51 51
52 #include "allocation.h"
52 #include "compiler.h" 53 #include "compiler.h"
53 54
54 namespace v8 { 55 namespace v8 {
55 namespace internal { 56 namespace internal {
56 57
57 // This class collects some specific information on structure of functions 58 // This class collects some specific information on structure of functions
58 // in a particular script. It gets called from compiler all the time, but 59 // in a particular script. It gets called from compiler all the time, but
59 // actually records any data only when liveedit operation is in process; 60 // actually records any data only when liveedit operation is in process;
60 // in any other time this class is very cheap. 61 // in any other time this class is very cheap.
61 // 62 //
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 static void CalculateDifference(Input* input, 171 static void CalculateDifference(Input* input,
171 Output* result_writer); 172 Output* result_writer);
172 }; 173 };
173 174
174 #endif // ENABLE_DEBUGGER_SUPPORT 175 #endif // ENABLE_DEBUGGER_SUPPORT
175 176
176 177
177 } } // namespace v8::internal 178 } } // namespace v8::internal
178 179
179 #endif /* V*_LIVEEDIT_H_ */ 180 #endif /* V*_LIVEEDIT_H_ */
OLDNEW
« no previous file with comments | « src/lithium-allocator.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698