Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index bd0a6f9d17012ebb78865302974af87c371e7770..916f057eb56d129eed4b5d97480442aee356489a 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3645,7 +3645,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; |
} |