Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 5cc213f96c9ebffebfe303ed77e09b968a1d25e4..fde46ea0d94c129cbbf90c83ed762f3fcf35cda4 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -646,7 +646,7 @@ Handle<Code> CallICBase::ComputeMonomorphicStub(LookupResult* lookup, |
Handle<JSObject> holder(lookup->holder()); |
switch (lookup->type()) { |
case FIELD: { |
- int index = lookup->GetFieldIndex(); |
+ PropertyIndex index = lookup->GetFieldIndex(); |
return isolate()->stub_cache()->ComputeCallField( |
argc, kind_, extra_state, name, object, holder, index); |
} |
@@ -1467,11 +1467,9 @@ void StoreIC::UpdateCaches(LookupResult* lookup, |
Handle<Code> code; |
switch (type) { |
case FIELD: |
- code = isolate()->stub_cache()->ComputeStoreField(name, |
- receiver, |
- lookup->GetFieldIndex(), |
- Handle<Map>::null(), |
- strict_mode); |
+ code = isolate()->stub_cache()->ComputeStoreField( |
+ name, receiver, lookup->GetFieldIndex().FieldIndex(), |
+ Handle<Map>::null(), strict_mode); |
break; |
case NORMAL: |
if (receiver->IsGlobalObject()) { |
@@ -1981,7 +1979,7 @@ void KeyedStoreIC::UpdateCaches(LookupResult* lookup, |
switch (type) { |
case FIELD: |
code = isolate()->stub_cache()->ComputeKeyedStoreField( |
- name, receiver, lookup->GetFieldIndex(), |
+ name, receiver, lookup->GetFieldIndex().FieldIndex(), |
Handle<Map>::null(), strict_mode); |
break; |
case TRANSITION: { |