Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 9a9f0d5f126f7b5e0a446544537dfbaaab8b9f29..4ec8654eb20f9563df6e52a11ce8d241305180dd 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -36,10 +36,9 @@ namespace internal { |
static LChunk* OptimizeGraph(HGraph* graph) { |
- Isolate* isolate = graph->isolate(); |
- AssertNoAllocation no_gc; |
- NoHandleAllocation no_handles(isolate); |
- HandleDereferenceGuard no_deref(isolate, HandleDereferenceGuard::DISALLOW); |
+ DisallowHeapAllocation no_allocation; |
+ DisallowHandleAllocation no_handles; |
+ DisallowHandleDereference no_deref; |
ASSERT(graph != NULL); |
SmartArrayPointer<char> bailout_reason; |