| OLD | NEW |
| 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 OTHER: 3, | 251 OTHER: 3, |
| 252 EXTERNAL: 4 | 252 EXTERNAL: 4, |
| 253 IDLE: 5 |
| 253 }; | 254 }; |
| 254 | 255 |
| 255 | 256 |
| 256 TickProcessor.CodeTypes = { | 257 TickProcessor.CodeTypes = { |
| 257 CPP: 0, | 258 CPP: 0, |
| 258 SHARED_LIB: 1 | 259 SHARED_LIB: 1 |
| 259 }; | 260 }; |
| 260 // Otherwise, this is JS-related code. We are not adding it to | 261 // Otherwise, this is JS-related code. We are not adding it to |
| 261 // codeTypes_ map because there can be zillions of them. | 262 // codeTypes_ map because there can be zillions of them. |
| 262 | 263 |
| (...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { | 904 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { |
| 904 synonims.push(synArg); | 905 synonims.push(synArg); |
| 905 delete this.argsDispatch_[synArg]; | 906 delete this.argsDispatch_[synArg]; |
| 906 } | 907 } |
| 907 } | 908 } |
| 908 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); | 909 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); |
| 909 } | 910 } |
| 910 quit(2); | 911 quit(2); |
| 911 }; | 912 }; |
| 912 | 913 |
| OLD | NEW |