Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 3bd00a928bf74fddeda08be7bf84a33913cdcce8..43d57fa7005113e7c5a3ef8e138cc9697b86a2e8 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -394,8 +394,8 @@ OptimizingCompiler::Status OptimizingCompiler::CreateGraph() { |
OptimizingCompiler::Status OptimizingCompiler::OptimizeGraph() { |
AssertNoAllocation no_gc; |
- NoHandleAllocation no_handles; |
- NoHandleDereference no_deref; |
+ NoHandleAllocation no_handles(isolate()); |
+ NoHandleDereference no_deref(isolate()); |
ASSERT(last_status() == SUCCEEDED); |
Timer t(this, &time_taken_to_optimize_); |