Index: runtime/vm/safepoint.h |
diff --git a/runtime/vm/safepoint.h b/runtime/vm/safepoint.h |
index 1c13a872f379371d8ea07cf0f64274b3df16b917..947742512ddad6f6991d01c183f526de79217968 100644 |
--- a/runtime/vm/safepoint.h |
+++ b/runtime/vm/safepoint.h |
@@ -309,12 +309,6 @@ class TransitionToGenerated : public TransitionSafepointState { |
} else { |
ASSERT(execution_state_ == Thread::kThreadInVM); |
thread()->set_execution_state(Thread::kThreadInVM); |
- // Fast check to see if a safepoint is requested or not. |
- // We do the more expensive operation of blocking the thread |
- // only if a safepoint is requested. |
- if (thread()->IsSafepointRequested()) { |
- handler()->BlockForSafepoint(thread()); |
- } |
} |
} |