Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index c8b8797266aea3df05066a370e2ddca6d88838bd..e5c8a73232d8867e759a24a624a5261576479957 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -790,7 +790,8 @@ static void AddToWeakNativeContextList(Context* context) { |
} |
} |
#endif |
- context->set(Context::NEXT_CONTEXT_LINK, heap->native_contexts_list()); |
+ context->set(Context::NEXT_CONTEXT_LINK, heap->native_contexts_list(), |
+ UPDATE_WEAK_WRITE_BARRIER); |
heap->set_native_contexts_list(context); |
} |