Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index 9a30173b2e4e9f907f17bf384aa66067bee4c4f8..bac274c31a6797465207eaf2141fa65c1fd4a988 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -268,7 +268,7 @@ Handle<Code> StubCache::ComputeStoreGlobal(Handle<Name> name, |
Handle<Object> value, |
StrictModeFlag strict_mode) { |
Isolate* isolate = cell->GetIsolate(); |
- Handle<Type> union_type(PropertyCell::UpdateType(cell, value), isolate); |
+ Handle<Type> union_type(PropertyCell::UpdatedType(cell, value), isolate); |
bool is_constant = union_type->IsConstant(); |
StoreGlobalStub stub(strict_mode, is_constant); |