| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index 0e4ce20bd6e3ef24143b584f74cc5ae38dd217f2..6ab5bf37b77f585897417f31db270ea5e03f2f9f 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -1157,7 +1157,7 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object,
|
| // later.
|
| bool compile_followup_inline = false;
|
| if (lookup->IsFound() && lookup->IsCacheable()) {
|
| - if (lookup->type() == FIELD) {
|
| + if (lookup->IsField()) {
|
| compile_followup_inline = true;
|
| } else if (lookup->type() == CALLBACKS &&
|
| lookup->GetCallbackObject()->IsAccessorInfo()) {
|
| @@ -1242,7 +1242,7 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object,
|
| miss);
|
| }
|
|
|
| - if (lookup->type() == FIELD) {
|
| + if (lookup->IsField()) {
|
| // We found FIELD property in prototype chain of interceptor's holder.
|
| // Retrieve a field from field's holder.
|
| GenerateFastPropertyLoad(masm(), eax, holder_reg,
|
|
|