Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index dd49ef3b17fcf8c5d55df5ad689d887cfdeb60dc..20cd46de11ffac8c7418277c722fca237313a204 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -784,8 +784,7 @@ enum FunctionKind { |
kGeneratorFunction = 2, |
kConciseMethod = 4, |
kConciseGeneratorMethod = kGeneratorFunction | kConciseMethod, |
- kDefaultConstructor = 8, |
- kDefaultConstructorCallSuper = 16 |
+ kDefaultConstructor = 8 |
}; |
@@ -795,8 +794,7 @@ inline bool IsValidFunctionKind(FunctionKind kind) { |
kind == FunctionKind::kGeneratorFunction || |
kind == FunctionKind::kConciseMethod || |
kind == FunctionKind::kConciseGeneratorMethod || |
- kind == FunctionKind::kDefaultConstructor || |
- kind == FunctionKind::kDefaultConstructorCallSuper; |
+ kind == FunctionKind::kDefaultConstructor; |
} |
@@ -824,10 +822,6 @@ inline bool IsDefaultConstructor(FunctionKind kind) { |
} |
-inline bool IsDefaultConstructorCallSuper(FunctionKind kind) { |
- DCHECK(IsValidFunctionKind(kind)); |
- return kind & FunctionKind::kDefaultConstructorCallSuper; |
-} |
} } // namespace v8::internal |
namespace i = v8::internal; |