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 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 // Logging and profiling. A StateTag represents a possible state of | 356 // Logging and profiling. A StateTag represents a possible state of |
357 // the VM. The logger maintains a stack of these. Creating a VMState | 357 // the VM. The logger maintains a stack of these. Creating a VMState |
358 // object enters a state by pushing on the stack, and destroying a | 358 // object enters a state by pushing on the stack, and destroying a |
359 // VMState object leaves a state by popping the current state from the | 359 // VMState object leaves a state by popping the current state from the |
360 // stack. | 360 // stack. |
361 | 361 |
362 enum StateTag { | 362 enum StateTag { |
363 JS, | 363 JS, |
364 GC, | 364 GC, |
365 COMPILER, | 365 COMPILER, |
366 PARALLEL_COMPILER, | |
367 OTHER, | 366 OTHER, |
368 EXTERNAL | 367 EXTERNAL |
369 }; | 368 }; |
370 | 369 |
371 | 370 |
372 // ----------------------------------------------------------------------------- | 371 // ----------------------------------------------------------------------------- |
373 // Macros | 372 // Macros |
374 | 373 |
375 // Testers for test. | 374 // Testers for test. |
376 | 375 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 569 |
571 enum ClearExceptionFlag { | 570 enum ClearExceptionFlag { |
572 KEEP_EXCEPTION, | 571 KEEP_EXCEPTION, |
573 CLEAR_EXCEPTION | 572 CLEAR_EXCEPTION |
574 }; | 573 }; |
575 | 574 |
576 | 575 |
577 } } // namespace v8::internal | 576 } } // namespace v8::internal |
578 | 577 |
579 #endif // V8_V8GLOBALS_H_ | 578 #endif // V8_V8GLOBALS_H_ |
OLD | NEW |