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

Unified Diff: runtime/vm/code_generator.cc

Issue 2667963005: Remove unused code for stubs with three checked args (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | runtime/vm/runtime_entry_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
index 6e4cd1189ce981e0f6e149acc5c3340f04c0565b..fbdd2065deb78b796d2df582057fc2403bbbf71a 100644
--- a/runtime/vm/code_generator.cc
+++ b/runtime/vm/code_generator.cc
@@ -931,28 +931,6 @@ DEFINE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs, 3) {
}
-// Handles inline cache misses by updating the IC data array of the call site.
-// Arg0: Receiver object.
-// Arg1: Argument after receiver.
-// Arg2: Second argument after receiver.
-// Arg3: IC data object.
-// Returns: target function with compiled code or null.
-// Modifies the instance call to hold the updated IC data array.
-DEFINE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs, 4) {
- const Instance& receiver = Instance::CheckedHandle(arguments.ArgAt(0));
- const Instance& arg1 = Instance::CheckedHandle(arguments.ArgAt(1));
- const Instance& arg2 = Instance::CheckedHandle(arguments.ArgAt(2));
- const ICData& ic_data = ICData::CheckedHandle(arguments.ArgAt(3));
- GrowableArray<const Instance*> args(3);
- args.Add(&receiver);
- args.Add(&arg1);
- args.Add(&arg2);
- const Function& result =
- Function::Handle(InlineCacheMissHandler(args, ic_data));
- arguments.SetReturn(result);
-}
-
-
// Handles a static call in unoptimized code that has one argument type not
// seen before. Compile the target if necessary and update the ICData.
// Arg0: argument.
« no previous file with comments | « no previous file | runtime/vm/runtime_entry_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698