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

Side by Side Diff: src/v8globals.h

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/stub-cache.cc ('k') | src/vm-state.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 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
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
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_
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/vm-state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698