Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 0ce365ba1efc3b1eb9bbce73b606b39bf1ee7de3..0e30a9468890cbca262bb992a4e5fddf2bba0fa2 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -935,8 +935,6 @@ |
kInObjectLiteral = 1 << 7, |
kDefaultBaseConstructor = kDefaultConstructor | kBaseConstructor, |
kDefaultSubclassConstructor = kDefaultConstructor | kSubclassConstructor, |
- kClassConstructor = |
- kBaseConstructor | kSubclassConstructor | kDefaultConstructor, |
kConciseMethodInObjectLiteral = kConciseMethod | kInObjectLiteral, |
kConciseGeneratorMethodInObjectLiteral = |
kConciseGeneratorMethod | kInObjectLiteral, |
@@ -1005,7 +1003,9 @@ |
inline bool IsClassConstructor(FunctionKind kind) { |
DCHECK(IsValidFunctionKind(kind)); |
- return kind & FunctionKind::kClassConstructor; |
+ return kind & |
+ (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | |
+ FunctionKind::kDefaultConstructor); |
} |