| 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/bit_vector.h" | 7 #include "vm/bit_vector.h" |
| 8 #include "vm/bootstrap.h" | 8 #include "vm/bootstrap.h" |
| 9 #include "vm/compiler.h" | 9 #include "vm/compiler.h" |
| 10 #include "vm/constant_propagator.h" | 10 #include "vm/constant_propagator.h" |
| (...skipping 3130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3141 locs(), | 3141 locs(), |
| 3142 ICData::Handle()); | 3142 ICData::Handle()); |
| 3143 return; | 3143 return; |
| 3144 } | 3144 } |
| 3145 | 3145 |
| 3146 compiler->EmitPolymorphicInstanceCall(ic_data(), | 3146 compiler->EmitPolymorphicInstanceCall(ic_data(), |
| 3147 instance_call()->ArgumentCount(), | 3147 instance_call()->ArgumentCount(), |
| 3148 instance_call()->argument_names(), | 3148 instance_call()->argument_names(), |
| 3149 deopt_id(), | 3149 deopt_id(), |
| 3150 instance_call()->token_pos(), | 3150 instance_call()->token_pos(), |
| 3151 locs()); | 3151 locs(), |
| 3152 complete()); |
| 3152 } | 3153 } |
| 3153 | 3154 |
| 3154 | 3155 |
| 3155 LocationSummary* StaticCallInstr::MakeLocationSummary(Zone* zone, | 3156 LocationSummary* StaticCallInstr::MakeLocationSummary(Zone* zone, |
| 3156 bool optimizing) const { | 3157 bool optimizing) const { |
| 3157 return MakeCallSummary(zone); | 3158 return MakeCallSummary(zone); |
| 3158 } | 3159 } |
| 3159 | 3160 |
| 3160 | 3161 |
| 3161 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 3162 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3761 set_native_c_function(native_function); | 3762 set_native_c_function(native_function); |
| 3762 function().SetIsNativeAutoSetupScope(auto_setup_scope); | 3763 function().SetIsNativeAutoSetupScope(auto_setup_scope); |
| 3763 Dart_NativeEntryResolver resolver = library.native_entry_resolver(); | 3764 Dart_NativeEntryResolver resolver = library.native_entry_resolver(); |
| 3764 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver); | 3765 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver); |
| 3765 set_is_bootstrap_native(is_bootstrap_native); | 3766 set_is_bootstrap_native(is_bootstrap_native); |
| 3766 } | 3767 } |
| 3767 | 3768 |
| 3768 #undef __ | 3769 #undef __ |
| 3769 | 3770 |
| 3770 } // namespace dart | 3771 } // namespace dart |
| OLD | NEW |