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

Unified Diff: src/compiler/bytecode-graph-builder.cc

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Created 4 years, 1 month 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/compiler/ast-graph-builder.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-graph-builder.cc
diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
index b00bcec339f02a6b9c9ecb01daee5e1d7bff8bd5..6f7b374a7599eae1e15008d684b5c0b6fd0f02af 100644
--- a/src/compiler/bytecode-graph-builder.cc
+++ b/src/compiler/bytecode-graph-builder.cc
@@ -1762,9 +1762,8 @@
void BytecodeGraphBuilder::VisitReturn() {
BuildLoopExitsForFunctionExit();
- Node* pop_node = jsgraph()->Int32Constant(0);
Node* control =
- NewNode(common()->Return(), pop_node, environment()->LookupAccumulator());
+ NewNode(common()->Return(), environment()->LookupAccumulator());
MergeControlToLeaveFunction(control);
}
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/code-assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698