| Index: src/heap/mark-compact.h | 
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h | 
| index 05b0d0e048ce697d2cc1a0aad1c62e998237fa47..015ac31154498343064d55c9347c1a9bdb109a0f 100644 | 
| --- a/src/heap/mark-compact.h | 
| +++ b/src/heap/mark-compact.h | 
| @@ -516,7 +516,8 @@ class CodeFlusher { | 
|  | 
| static void SetNextCandidate(JSFunction* candidate, | 
| JSFunction* next_candidate) { | 
| -    candidate->set_next_function_link(next_candidate); | 
| +    candidate->set_next_function_link(next_candidate, | 
| +                                      UPDATE_WEAK_WRITE_BARRIER); | 
| } | 
|  | 
| static void ClearNextCandidate(JSFunction* candidate, Object* undefined) { | 
|  |