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

Side by Side Diff: tools/tickprocessor.js

Issue 14139033: Clean up VMState a little bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fixed mistake Created 7 years, 8 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/x64/macro-assembler-x64.cc ('k') | no next file » | 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 this.generation_ = 1; 241 this.generation_ = 1;
242 this.currentProducerProfile_ = null; 242 this.currentProducerProfile_ = null;
243 }; 243 };
244 inherits(TickProcessor, LogReader); 244 inherits(TickProcessor, LogReader);
245 245
246 246
247 TickProcessor.VmStates = { 247 TickProcessor.VmStates = {
248 JS: 0, 248 JS: 0,
249 GC: 1, 249 GC: 1,
250 COMPILER: 2, 250 COMPILER: 2,
251 PARALLEL_COMPILER: 3, 251 OTHER: 3,
252 OTHER: 4, 252 EXTERNAL: 4
253 EXTERNAL: 5
254 }; 253 };
255 254
256 255
257 TickProcessor.CodeTypes = { 256 TickProcessor.CodeTypes = {
258 CPP: 0, 257 CPP: 0,
259 SHARED_LIB: 1 258 SHARED_LIB: 1
260 }; 259 };
261 // Otherwise, this is JS-related code. We are not adding it to 260 // Otherwise, this is JS-related code. We are not adding it to
262 // codeTypes_ map because there can be zillions of them. 261 // codeTypes_ map because there can be zillions of them.
263 262
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { 904 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) {
906 synonims.push(synArg); 905 synonims.push(synArg);
907 delete this.argsDispatch_[synArg]; 906 delete this.argsDispatch_[synArg];
908 } 907 }
909 } 908 }
910 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); 909 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]);
911 } 910 }
912 quit(2); 911 quit(2);
913 }; 912 };
914 913
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698