Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: src/full-codegen.cc

Issue 1161243005: Revert of [es6] Super call in arrows and eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « src/full-codegen.h ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698