Chromium Code Reviews| 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_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
| 6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 2868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2879 | 2879 |
| 2880 | 2880 |
| 2881 LocationSummary* BoxFloat32x4Instr::MakeLocationSummary() const { | 2881 LocationSummary* BoxFloat32x4Instr::MakeLocationSummary() const { |
| 2882 const intptr_t kNumInputs = 1; | 2882 const intptr_t kNumInputs = 1; |
| 2883 const intptr_t kNumTemps = 0; | 2883 const intptr_t kNumTemps = 0; |
| 2884 LocationSummary* summary = | 2884 LocationSummary* summary = |
| 2885 new LocationSummary(kNumInputs, | 2885 new LocationSummary(kNumInputs, |
| 2886 kNumTemps, | 2886 kNumTemps, |
| 2887 LocationSummary::kCallOnSlowPath); | 2887 LocationSummary::kCallOnSlowPath); |
| 2888 summary->set_in(0, Location::RequiresFpuRegister()); | 2888 summary->set_in(0, Location::RequiresFpuRegister()); |
| 2889 summary->set_temp(0, Location::RequiresRegister()); | |
|
Florian Schneider
2013/10/31 09:56:01
Where and why is temp(0) used?
Cutch
2013/10/31 11:20:02
This is left over from PS2
| |
| 2889 summary->set_out(Location::RequiresRegister()); | 2890 summary->set_out(Location::RequiresRegister()); |
| 2890 return summary; | 2891 return summary; |
| 2891 } | 2892 } |
| 2892 | 2893 |
| 2893 | 2894 |
| 2894 class BoxFloat32x4SlowPath : public SlowPathCode { | 2895 class BoxFloat32x4SlowPath : public SlowPathCode { |
| 2895 public: | 2896 public: |
| 2896 explicit BoxFloat32x4SlowPath(BoxFloat32x4Instr* instruction) | 2897 explicit BoxFloat32x4SlowPath(BoxFloat32x4Instr* instruction) |
| 2897 : instruction_(instruction) { } | 2898 : instruction_(instruction) { } |
| 2898 | 2899 |
| (...skipping 2274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5173 PcDescriptors::kOther, | 5174 PcDescriptors::kOther, |
| 5174 locs()); | 5175 locs()); |
| 5175 __ Drop(2); // Discard type arguments and receiver. | 5176 __ Drop(2); // Discard type arguments and receiver. |
| 5176 } | 5177 } |
| 5177 | 5178 |
| 5178 } // namespace dart | 5179 } // namespace dart |
| 5179 | 5180 |
| 5180 #undef __ | 5181 #undef __ |
| 5181 | 5182 |
| 5182 #endif // defined TARGET_ARCH_IA32 | 5183 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |