Index: src/isolate.h |
diff --git a/src/isolate.h b/src/isolate.h |
index fe5e57151b55fe20897fa99894564677016c2589..71d86f4ac0e8dc26de4e2bc2b66d7f20ecde97aa 100644 |
--- a/src/isolate.h |
+++ b/src/isolate.h |
@@ -85,7 +85,7 @@ class SweeperThread; |
class ThreadManager; |
class ThreadState; |
class ThreadVisitor; // Defined in v8threads.h |
-class VMState; |
+template <StateTag Tag> class VMState; |
// 'void function pointer', used to roundtrip the |
// ExternalReference::ExternalReferenceRedirector since we can not include |
@@ -1031,7 +1031,7 @@ class Isolate { |
return thread_local_top_.current_vm_state_; |
} |
- void SetCurrentVMState(StateTag state) { |
+ void set_current_vm_state(StateTag state) { |
thread_local_top_.current_vm_state_ = state; |
} |