Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index dd7558e8898c5455a8f0326ffee5b51fbf5c1ef9..35d51d982ed44f9edffc77ff8f249338fe42cca2 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -833,8 +833,7 @@ void FullCodeGenerator::SetStatementPosition(Statement* stmt) { |
void FullCodeGenerator::VisitSuperReference(SuperReference* super) { |
- DCHECK(FLAG_harmony_classes); |
- UNIMPLEMENTED(); |
+ __ CallRuntime(Runtime::kThrowUnsupportedSuperError, 0); |
} |