Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index e718249d192595107cc238ad33f80034cadfd600..f047a9b60f72ef75a5817f7329140ab20fb014b1 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -858,11 +858,11 @@ static void AddToWeakNativeContextList(Context* context) { |
Heap* heap = context->GetIsolate()->heap(); |
#ifdef DEBUG |
{ // NOLINT |
- DCHECK(context->get(Context::NEXT_CONTEXT_LINK)->IsUndefined()); |
+ DCHECK(context->next_context_link()->IsUndefined()); |
// Check that context is not in the list yet. |
for (Object* current = heap->native_contexts_list(); |
!current->IsUndefined(); |
- current = Context::cast(current)->get(Context::NEXT_CONTEXT_LINK)) { |
+ current = Context::cast(current)->next_context_link()) { |
DCHECK(current != context); |
} |
} |