| 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/globals.h" // Needed here to get TARGET_ARCH_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
| (...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2002 : LocationSummary::kNoCall); | 2002 : LocationSummary::kNoCall); |
| 2003 | 2003 |
| 2004 summary->set_in(0, Location::RequiresRegister()); | 2004 summary->set_in(0, Location::RequiresRegister()); |
| 2005 if (IsUnboxedStore() && opt) { | 2005 if (IsUnboxedStore() && opt) { |
| 2006 summary->set_in(1, Location::RequiresFpuRegister()); | 2006 summary->set_in(1, Location::RequiresFpuRegister()); |
| 2007 summary->set_temp(0, Location::RequiresRegister()); | 2007 summary->set_temp(0, Location::RequiresRegister()); |
| 2008 summary->set_temp(1, Location::RequiresRegister()); | 2008 summary->set_temp(1, Location::RequiresRegister()); |
| 2009 } else if (IsPotentialUnboxedStore()) { | 2009 } else if (IsPotentialUnboxedStore()) { |
| 2010 summary->set_in(1, ShouldEmitStoreBarrier() | 2010 summary->set_in(1, ShouldEmitStoreBarrier() |
| 2011 ? Location::WritableRegister() | 2011 ? Location::WritableRegister() |
| 2012 : Location::RequiresRegister()); | 2012 : Location::RequiresRegister()); |
| 2013 summary->set_temp(0, Location::RequiresRegister()); | 2013 summary->set_temp(0, Location::RequiresRegister()); |
| 2014 summary->set_temp(1, Location::RequiresRegister()); | 2014 summary->set_temp(1, Location::RequiresRegister()); |
| 2015 summary->set_temp(2, opt ? Location::RequiresFpuRegister() | 2015 summary->set_temp(2, opt ? Location::RequiresFpuRegister() |
| 2016 : Location::FpuRegisterLocation(Q1)); | 2016 : Location::FpuRegisterLocation(Q1)); |
| 2017 } else { | 2017 } else { |
| 2018 summary->set_in(1, ShouldEmitStoreBarrier() | 2018 summary->set_in(1, ShouldEmitStoreBarrier() |
| 2019 ? Location::WritableRegister() | 2019 ? Location::WritableRegister() |
| 2020 : Location::RegisterOrConstant(value())); | 2020 : Location::RegisterOrConstant(value())); |
| 2021 } | 2021 } |
| 2022 return summary; | 2022 return summary; |
| (...skipping 4838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6861 1, | 6861 1, |
| 6862 locs()); | 6862 locs()); |
| 6863 __ Drop(1); | 6863 __ Drop(1); |
| 6864 __ Pop(result); | 6864 __ Pop(result); |
| 6865 } | 6865 } |
| 6866 | 6866 |
| 6867 | 6867 |
| 6868 } // namespace dart | 6868 } // namespace dart |
| 6869 | 6869 |
| 6870 #endif // defined TARGET_ARCH_ARM | 6870 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |