Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 47cddd0a10dce599dd3f353e7d19fbfa99abca92..196faed07e5d61945a621750a9dbb34e2a727364 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4281,6 +4281,11 @@ void HOptimizedGraphBuilder::VisitExpressions(ZoneList<Expression*>* exprs, |
bool HOptimizedGraphBuilder::BuildGraph() { |
+ if (IsSubclassConstructor(current_info()->function()->kind())) { |
+ Bailout(kSuperReference); |
+ return false; |
+ } |
+ |
Scope* scope = current_info()->scope(); |
SetUpScope(scope); |