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

Side by Side Diff: src/objects-printer.cc

Issue 20758002: Compilation type and state allocate an unnecessary Smi on v8::Script. (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@master
Patch Set: feedback. Created 7 years, 4 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/objects-inl.h ('k') | src/runtime.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 PrintF(out, "\n - type: "); 1195 PrintF(out, "\n - type: ");
1196 type()->ShortPrint(out); 1196 type()->ShortPrint(out);
1197 PrintF(out, "\n - id: "); 1197 PrintF(out, "\n - id: ");
1198 id()->ShortPrint(out); 1198 id()->ShortPrint(out);
1199 PrintF(out, "\n - data: "); 1199 PrintF(out, "\n - data: ");
1200 data()->ShortPrint(out); 1200 data()->ShortPrint(out);
1201 PrintF(out, "\n - context data: "); 1201 PrintF(out, "\n - context data: ");
1202 context_data()->ShortPrint(out); 1202 context_data()->ShortPrint(out);
1203 PrintF(out, "\n - wrapper: "); 1203 PrintF(out, "\n - wrapper: ");
1204 wrapper()->ShortPrint(out); 1204 wrapper()->ShortPrint(out);
1205 PrintF(out, "\n - compilation type: "); 1205 PrintF(out, "\n - compilation type: %d", compilation_type());
1206 compilation_type()->ShortPrint(out);
1207 PrintF(out, "\n - line ends: "); 1206 PrintF(out, "\n - line ends: ");
1208 line_ends()->ShortPrint(out); 1207 line_ends()->ShortPrint(out);
1209 PrintF(out, "\n - eval from shared: "); 1208 PrintF(out, "\n - eval from shared: ");
1210 eval_from_shared()->ShortPrint(out); 1209 eval_from_shared()->ShortPrint(out);
1211 PrintF(out, "\n - eval from instructions offset: "); 1210 PrintF(out, "\n - eval from instructions offset: ");
1212 eval_from_instructions_offset()->ShortPrint(out); 1211 eval_from_instructions_offset()->ShortPrint(out);
1213 PrintF(out, "\n"); 1212 PrintF(out, "\n");
1214 } 1213 }
1215 1214
1216 1215
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1279 } 1278 }
1280 } 1279 }
1281 PrintF(out, "\n"); 1280 PrintF(out, "\n");
1282 } 1281 }
1283 1282
1284 1283
1285 #endif // OBJECT_PRINT 1284 #endif // OBJECT_PRINT
1286 1285
1287 1286
1288 } } // namespace v8::internal 1287 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698