| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/globals.h" // Needed here to get TARGET_ARCH_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
| 6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "lib/error.h" | 10 #include "lib/error.h" |
| (...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2012 const Function& target = Function::ZoneHandle(ic_data.GetTargetAt(0)); | 2012 const Function& target = Function::ZoneHandle(ic_data.GetTargetAt(0)); |
| 2013 | 2013 |
| 2014 const intptr_t kNumberOfArguments = 1; | 2014 const intptr_t kNumberOfArguments = 1; |
| 2015 __ pushq(value_obj); | 2015 __ pushq(value_obj); |
| 2016 compiler->GenerateStaticCall(instance_call()->deopt_id(), | 2016 compiler->GenerateStaticCall(instance_call()->deopt_id(), |
| 2017 instance_call()->token_pos(), | 2017 instance_call()->token_pos(), |
| 2018 target, | 2018 target, |
| 2019 kNumberOfArguments, | 2019 kNumberOfArguments, |
| 2020 Array::Handle(), // No argument names. | 2020 Array::Handle(), // No argument names. |
| 2021 locs()); | 2021 locs()); |
| 2022 __ Drop(1); | |
| 2023 __ Bind(&done); | 2022 __ Bind(&done); |
| 2024 } | 2023 } |
| 2025 | 2024 |
| 2026 | 2025 |
| 2027 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary() const { | 2026 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary() const { |
| 2028 return MakeCallSummary(); | 2027 return MakeCallSummary(); |
| 2029 } | 2028 } |
| 2030 | 2029 |
| 2031 | 2030 |
| 2032 void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 2031 void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2255 | 2254 |
| 2256 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 2255 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 2257 UNIMPLEMENTED(); | 2256 UNIMPLEMENTED(); |
| 2258 } | 2257 } |
| 2259 | 2258 |
| 2260 } // namespace dart | 2259 } // namespace dart |
| 2261 | 2260 |
| 2262 #undef __ | 2261 #undef __ |
| 2263 | 2262 |
| 2264 #endif // defined TARGET_ARCH_X64 | 2263 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |