Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index b118b360fce8ce0fc9002dcef4e2f75926b56b0a..5f24ede0b9bea61083dd2d0aec11b06e59cd36a7 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -936,7 +936,7 @@ void StubCache::Clear() { |
void StubCache::CollectMatchingMaps(SmallMapList* types, |
String* name, |
Code::Flags flags, |
- Handle<Context> global_context, |
+ Handle<Context> native_context, |
Zone* zone) { |
for (int i = 0; i < kPrimaryTableSize; i++) { |
if (primary_[i].key == name) { |
@@ -947,7 +947,7 @@ void StubCache::CollectMatchingMaps(SmallMapList* types, |
int offset = PrimaryOffset(name, flags, map); |
if (entry(primary_, offset) == &primary_[i] && |
- !TypeFeedbackOracle::CanRetainOtherContext(map, *global_context)) { |
+ !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) { |
types->Add(Handle<Map>(map), zone); |
} |
} |
@@ -971,7 +971,7 @@ void StubCache::CollectMatchingMaps(SmallMapList* types, |
// Lookup in secondary table and add matches. |
int offset = SecondaryOffset(name, flags, primary_offset); |
if (entry(secondary_, offset) == &secondary_[i] && |
- !TypeFeedbackOracle::CanRetainOtherContext(map, *global_context)) { |
+ !TypeFeedbackOracle::CanRetainOtherContext(map, *native_context)) { |
types->Add(Handle<Map>(map), zone); |
} |
} |