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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 17977002: - Remove arguments definition test from the VM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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
Index: runtime/vm/flow_graph_inliner.cc
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 24474)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -543,16 +543,6 @@
arguments,
param_stubs,
callee_graph);
- // Add a bogus parameter at the end for the (unused) arguments
- // descriptor slot. The parser allocates an extra slot between
- // locals and parameters to hold the arguments descriptor in case it
- // escapes. We currently bailout if there are argument test
- // expressions or escaping variables so this parameter and the stack
- // slot are not used.
- if (parsed_function->GetSavedArgumentsDescriptorVar() != NULL) {
- param_stubs->Add(new ParameterInstr(
- function.NumParameters(), callee_graph->graph_entry()));
- }
}
// After treating optional parameters the actual/formal count must match.

Powered by Google App Engine
This is Rietveld 408576698