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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 562203005: Inline toDouble calls on mints (Closed) Base URL: https://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
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 3c12e4b634c93d42b625ae5ea24682c3b68c5112..6c7d624178609c1fb5054b083e814df267e4405b 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -2629,9 +2629,6 @@ void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
MethodRecognizer::RecognizeKind(function());
int num_args_checked = 0;
switch (recognized_kind) {
- case MethodRecognizer::kDoubleFromInteger:
- num_args_checked = 1;
Florian Schneider 2014/09/17 11:15:32 Change this to 2 to make inlining of DoubleFromInt
Cutch 2014/09/18 16:39:49 Done.
- break;
case MethodRecognizer::kMathMin:
case MethodRecognizer::kMathMax:
num_args_checked = 2;

Powered by Google App Engine
This is Rietveld 408576698