Index: src/vm-state.h |
diff --git a/src/vm-state.h b/src/vm-state.h |
index a72180ca45f4dcee0485209cff3162e5d73a8cb5..9838b8732b5c220f1d5ef0d51cc942c6399bbc03 100644 |
--- a/src/vm-state.h |
+++ b/src/vm-state.h |
@@ -11,6 +11,11 @@ |
namespace v8 { |
namespace internal { |
+// Logging and profiling. A StateTag represents a possible state of |
+// the VM. The logger maintains a stack of these. Creating a VMState |
+// object enters a state by pushing on the stack, and destroying a |
+// VMState object leaves a state by popping the current state from the |
+// stack. |
template <StateTag Tag> |
class VMState BASE_EMBEDDED { |
public: |