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 3120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3131 locs(), | 3131 locs(), |
3132 ICData::Handle()); | 3132 ICData::Handle()); |
3133 return; | 3133 return; |
3134 } | 3134 } |
3135 | 3135 |
3136 compiler->EmitPolymorphicInstanceCall(ic_data(), | 3136 compiler->EmitPolymorphicInstanceCall(ic_data(), |
3137 instance_call()->ArgumentCount(), | 3137 instance_call()->ArgumentCount(), |
3138 instance_call()->argument_names(), | 3138 instance_call()->argument_names(), |
3139 deopt_id(), | 3139 deopt_id(), |
3140 instance_call()->token_pos(), | 3140 instance_call()->token_pos(), |
3141 locs()); | 3141 locs(), |
| 3142 complete()); |
3142 } | 3143 } |
3143 | 3144 |
3144 | 3145 |
3145 LocationSummary* StaticCallInstr::MakeLocationSummary(Zone* zone, | 3146 LocationSummary* StaticCallInstr::MakeLocationSummary(Zone* zone, |
3146 bool optimizing) const { | 3147 bool optimizing) const { |
3147 return MakeCallSummary(zone); | 3148 return MakeCallSummary(zone); |
3148 } | 3149 } |
3149 | 3150 |
3150 | 3151 |
3151 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 3152 void StaticCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3751 set_native_c_function(native_function); | 3752 set_native_c_function(native_function); |
3752 function().SetIsNativeAutoSetupScope(auto_setup_scope); | 3753 function().SetIsNativeAutoSetupScope(auto_setup_scope); |
3753 Dart_NativeEntryResolver resolver = library.native_entry_resolver(); | 3754 Dart_NativeEntryResolver resolver = library.native_entry_resolver(); |
3754 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver); | 3755 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver); |
3755 set_is_bootstrap_native(is_bootstrap_native); | 3756 set_is_bootstrap_native(is_bootstrap_native); |
3756 } | 3757 } |
3757 | 3758 |
3758 #undef __ | 3759 #undef __ |
3759 | 3760 |
3760 } // namespace dart | 3761 } // namespace dart |
OLD | NEW |