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

Unified Diff: runtime/vm/stub_code_arm.cc

Issue 19547003: Cleanup: remove argument descriptor parameter when calling inline cache miss handler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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/code_generator.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm.cc
===================================================================
--- runtime/vm/stub_code_arm.cc (revision 25155)
+++ runtime/vm/stub_code_arm.cc (working copy)
@@ -1468,8 +1468,8 @@
__ LoadFromOffset(kWord, IP, R7, -i * kWordSize);
__ Push(IP);
}
- // Pass IC data object and arguments descriptor array.
- __ PushList((1 << R4) | (1 << R5));
+ // Pass IC data object.
+ __ Push(R5);
if (num_args == 1) {
__ CallRuntime(kInlineCacheMissHandlerOneArgRuntimeEntry);
@@ -1480,9 +1480,8 @@
} else {
UNIMPLEMENTED();
}
- // Remove the call arguments pushed earlier, including the IC data object
- // and the arguments descriptor array.
- __ Drop(num_args + 2);
+ // Remove the call arguments pushed earlier, including the IC data object.
+ __ Drop(num_args + 1);
// Pop returned code object into R0 (null if not found).
// Restore arguments descriptor array and IC data array.
__ PopList((1 << R0) | (1 << R4) | (1 << R5));
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698