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

Side by Side Diff: runtime/vm/intermediate_language.cc

Issue 211873003: Incremental tuning/cleanup of inlining: --print-inline-tree changed to --print-inlining-tree. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/bit_vector.h" 8 #include "vm/bit_vector.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 2132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 compiler->GenerateInstanceCall(deopt_id(), 2143 compiler->GenerateInstanceCall(deopt_id(),
2144 token_pos(), 2144 token_pos(),
2145 ArgumentCount(), 2145 ArgumentCount(),
2146 argument_names(), 2146 argument_names(),
2147 locs(), 2147 locs(),
2148 call_ic_data); 2148 call_ic_data);
2149 } 2149 }
2150 } 2150 }
2151 2151
2152 2152
2153 bool PolymorphicInstanceCallInstr::HasRecognizedTarget() const { 2153 bool PolymorphicInstanceCallInstr::HasSingleRecognizedTarget() const {
2154 return ic_data().HasOneTarget() && 2154 return ic_data().HasOneTarget() &&
2155 (MethodRecognizer::RecognizeKind( 2155 (MethodRecognizer::RecognizeKind(
2156 Function::Handle(ic_data().GetTargetAt(0))) != 2156 Function::Handle(ic_data().GetTargetAt(0))) !=
2157 MethodRecognizer::kUnknown); 2157 MethodRecognizer::kUnknown);
2158 } 2158 }
2159 2159
2160 2160
2161 LocationSummary* StaticCallInstr::MakeLocationSummary(bool optimizing) const { 2161 LocationSummary* StaticCallInstr::MakeLocationSummary(bool optimizing) const {
2162 return MakeCallSummary(); 2162 return MakeCallSummary();
2163 } 2163 }
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
3242 case Token::kTRUNCDIV: return 0; 3242 case Token::kTRUNCDIV: return 0;
3243 case Token::kMOD: return 1; 3243 case Token::kMOD: return 1;
3244 default: UNIMPLEMENTED(); return -1; 3244 default: UNIMPLEMENTED(); return -1;
3245 } 3245 }
3246 } 3246 }
3247 3247
3248 3248
3249 #undef __ 3249 #undef __
3250 3250
3251 } // namespace dart 3251 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698