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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 2140683002: Remove remaining stub code for IC range profiling. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/flow_graph_compiler.cc ('k') | runtime/vm/stub_code.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 689d535ed0c1952a3edcbfb336bd628f3927fdd5..a2a9d2768a3eeca3dde6f90e183d07cca37b1d3b 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -3177,18 +3177,6 @@ void InstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
ASSERT(ArgumentCount() == 2);
compiler->EmitInstanceCall(*stub_entry, *call_ic_data, ArgumentCount(),
deopt_id(), token_pos(), locs());
- } else if (FLAG_ic_range_profiling &&
- (Token::IsBinaryArithmeticOperator(token_kind()) ||
- Token::IsUnaryArithmeticOperator(token_kind()))) {
- ASSERT(Token::IsUnaryArithmeticOperator(token_kind()) ==
- (ArgumentCount() == 1));
- ASSERT(Token::IsBinaryArithmeticOperator(token_kind()) ==
- (ArgumentCount() == 2));
- const StubEntry* stub_entry = (ArgumentCount() == 1)
- ? StubCode::UnaryRangeCollectingInlineCache_entry()
- : StubCode::BinaryRangeCollectingInlineCache_entry();
- compiler->EmitInstanceCall(*stub_entry, *call_ic_data, ArgumentCount(),
- deopt_id(), token_pos(), locs());
} else {
compiler->GenerateInstanceCall(deopt_id(),
token_pos(),
« no previous file with comments | « runtime/vm/flow_graph_compiler.cc ('k') | runtime/vm/stub_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698