| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |