Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 1091622ea2802586a6d1a126c3c148e359f22979..e0108c7f8e819c1b2fee4965653c3cde671c50a7 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -6823,7 +6823,7 @@ bool HGraphBuilder::TryInline(CallKind call_kind, |
ASSERT(target_shared->has_deoptimization_support()); |
TypeFeedbackOracle target_oracle( |
Handle<Code>(target_shared->code()), |
- Handle<Context>(target->context()->global_context()), |
+ Handle<Context>(target->context()->native_context()), |
isolate(), |
zone()); |
// The function state is new-allocated because we need to delete it |