Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 759265e5faab5ec645d7abc00ffeed25d71a51bd..95957d61411ed219736607dd607a23d77b3c7792 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -276,12 +276,7 @@ |
} |
-void BreakableStatementChecker::VisitSuperPropertyReference( |
- SuperPropertyReference* expr) {} |
- |
- |
-void BreakableStatementChecker::VisitSuperCallReference( |
- SuperCallReference* expr) {} |
+void BreakableStatementChecker::VisitSuperReference(SuperReference* expr) {} |
#define __ ACCESS_MASM(masm()) |
@@ -673,13 +668,7 @@ |
} |
-void FullCodeGenerator::VisitSuperPropertyReference( |
- SuperPropertyReference* super) { |
- __ CallRuntime(Runtime::kThrowUnsupportedSuperError, 0); |
-} |
- |
- |
-void FullCodeGenerator::VisitSuperCallReference(SuperCallReference* super) { |
+void FullCodeGenerator::VisitSuperReference(SuperReference* super) { |
__ CallRuntime(Runtime::kThrowUnsupportedSuperError, 0); |
} |
@@ -986,12 +975,6 @@ |
__ InvokeBuiltin(Builtins::TO_NAME, CALL_FUNCTION); |
PrepareForBailoutForId(bailout_id, NO_REGISTERS); |
__ Push(result_register()); |
-} |
- |
- |
-void FullCodeGenerator::EmitLoadSuperConstructor(SuperCallReference* ref) { |
- VisitForStackValue(ref->this_function_var()); |
- __ CallRuntime(Runtime::kGetPrototype, 1); |
} |