Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 73cd013a8138f373899e7f324179160e4aa69295..697d46d5978711d83d129a5333509f0e70c52139 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -734,7 +734,7 @@ Call::CallType Call::GetCallType(Isolate* isolate) const { |
} |
} |
- if (expression()->AsSuperReference() != NULL) return SUPER_CALL; |
+ if (expression()->IsSuperCallReference()) return SUPER_CALL; |
Property* property = expression()->AsProperty(); |
return property != NULL ? PROPERTY_CALL : OTHER_CALL; |