Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 037a7a16ea2c246427f8ed12b61ccbfae7378466..a19b601cbf6a523c6c3686288df7897f594104ea 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3681,7 +3681,7 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) { |
share->set_function_token_position(0); |
// All compiler hints default to false or 0. |
share->set_compiler_hints(0); |
- share->set_opt_count(0); |
+ share->set_opt_count_and_bailout_reason(0); |
return share; |
} |