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

Unified Diff: src/crankshaft/hydrogen-instructions.cc

Issue 1814433002: Revert of [crankshaft] Fixing ES6 tail call elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/crankshaft/hydrogen-instructions.cc
diff --git a/src/crankshaft/hydrogen-instructions.cc b/src/crankshaft/hydrogen-instructions.cc
index 9cd15026db24d3ff07117ec1e006d91110850e4f..620d5b389def336f6026fed475fe28a6f47f0c26 100644
--- a/src/crankshaft/hydrogen-instructions.cc
+++ b/src/crankshaft/hydrogen-instructions.cc
@@ -911,18 +911,6 @@
<< argument_count();
}
-std::ostream& HInvokeFunction::PrintTo(std::ostream& os) const { // NOLINT
- if (tail_call_mode() == TailCallMode::kAllow) os << "Tail";
- return HBinaryCall::PrintTo(os);
-}
-
-std::ostream& HInvokeFunction::PrintDataTo(std::ostream& os) const { // NOLINT
- HBinaryCall::PrintDataTo(os);
- if (syntactic_tail_call_mode() == TailCallMode::kAllow) {
- os << ", JSTailCall";
- }
- return os;
-}
void HBoundsCheck::ApplyIndexChange() {
if (skip_check()) return;
@@ -1045,11 +1033,7 @@
for (int i = 0; i < OperandCount(); i++) {
os << NameOf(OperandAt(i)) << " ";
}
- os << "#" << argument_count();
- if (syntactic_tail_call_mode() == TailCallMode::kAllow) {
- os << ", JSTailCall";
- }
- return os;
+ return os << "#" << argument_count();
}
« no previous file with comments | « src/crankshaft/hydrogen-instructions.h ('k') | src/crankshaft/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698