Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 67a9fea8b896d2be7115b7fb56ad724cc02c4e0b..f7a1eab0c005ba2aaf83d627ad39433fa3c03432 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -466,7 +466,7 @@ void Context::AddOptimizedFunction(JSFunction* function) { |
found = true; |
break; |
} |
- context = Context::cast(context)->get(Context::NEXT_CONTEXT_LINK); |
+ context = Context::cast(context)->next_context_link(); |
} |
CHECK(found); |
#endif |