Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index b2c13684404061aabce9c0dc5cd34627e955bd8b..392a3ccaa01c336ffdc044ed63dac8794c9144e1 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -460,7 +460,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 |