Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index a6acd9791e499dc942d798e4c0d18f5b7298f575..4040e958658b4e4f959b9284f41de94105c267da 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -1143,7 +1143,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()) { |
@@ -1221,7 +1221,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(), rax, holder_reg, |