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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 551043002: VM: Remove unused IsClosureCall bit from IC data. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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/object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.cc
===================================================================
--- runtime/vm/flow_graph_compiler.cc (revision 39965)
+++ runtime/vm/flow_graph_compiler.cc (working copy)
@@ -872,15 +872,6 @@
uword label_address = 0;
StubCode* stub_code = isolate()->stub_code();
if (is_optimizing() && (ic_data.NumberOfUsedChecks() == 0)) {
- if (ic_data.IsClosureCall()) {
Florian Schneider 2014/09/08 16:17:17 This code has effectively become unreachable, beca
- // This IC call may be closure call only.
- label_address = stub_code->ClosureCallInlineCacheEntryPoint();
- ExternalLabel target_label(label_address);
- EmitInstanceCall(&target_label,
- ICData::ZoneHandle(ic_data.AsUnaryClassChecks()),
- argument_count, deopt_id, token_pos, locs);
- return;
- }
// Emit IC call that will count and thus may need reoptimization at
// function entry.
ASSERT(!is_optimizing()
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698