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

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
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_inliner.cc
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 24537)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -549,16 +549,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.
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698