Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 2024d08f5c08574a2156229a9cd2d5b86b0bcbac..9d266a545b12c6a83dbf3114809e3cb60f5d656f 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -36,9 +36,10 @@ namespace internal { |
static LChunk* OptimizeGraph(HGraph* graph) { |
+ Isolate* isolate = graph->isolate(); |
AssertNoAllocation no_gc; |
- NoHandleAllocation no_handles; |
- NoHandleDereference no_deref; |
+ NoHandleAllocation no_handles(isolate); |
+ NoHandleDereference no_deref(isolate); |
ASSERT(graph != NULL); |
SmartArrayPointer<char> bailout_reason; |