Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 537764069eb1021acaacc254d30bf43431259f7a..799d77549d5fb4b153faf8f04b3c513acc9961b5 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -738,7 +738,7 @@ class ReachabilityAnalyzer BASE_EMBEDDED { |
void HGraph::Verify(bool do_full_verify) const { |
- Heap::RelocationLock relocation_lock(isolate()->heap()); |
+ base::LockGuard<base::Mutex> guard(isolate()->heap()->relocation_mutex()); |
AllowHandleDereference allow_deref; |
AllowDeferredHandleDereference allow_deferred_deref; |
for (int i = 0; i < blocks_.length(); i++) { |