| 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 "lib/error.h" | 10 #include "lib/error.h" |
| (...skipping 4304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4315 // descriptor. | 4315 // descriptor. |
| 4316 Register temp_reg = locs()->temp(0).reg(); | 4316 Register temp_reg = locs()->temp(0).reg(); |
| 4317 int argument_count = ArgumentCount(); | 4317 int argument_count = ArgumentCount(); |
| 4318 const Array& arguments_descriptor = | 4318 const Array& arguments_descriptor = |
| 4319 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, | 4319 Array::ZoneHandle(ArgumentsDescriptor::New(argument_count, |
| 4320 argument_names())); | 4320 argument_names())); |
| 4321 __ LoadObject(temp_reg, arguments_descriptor); | 4321 __ LoadObject(temp_reg, arguments_descriptor); |
| 4322 compiler->GenerateDartCall(deopt_id(), | 4322 compiler->GenerateDartCall(deopt_id(), |
| 4323 token_pos(), | 4323 token_pos(), |
| 4324 &StubCode::CallClosureFunctionLabel(), | 4324 &StubCode::CallClosureFunctionLabel(), |
| 4325 PcDescriptors::kOther, | 4325 PcDescriptors::kClosureCall, |
| 4326 locs()); | 4326 locs()); |
| 4327 __ Drop(argument_count); | 4327 __ Drop(argument_count); |
| 4328 } | 4328 } |
| 4329 | 4329 |
| 4330 | 4330 |
| 4331 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const { | 4331 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const { |
| 4332 return LocationSummary::Make(1, | 4332 return LocationSummary::Make(1, |
| 4333 Location::RequiresRegister(), | 4333 Location::RequiresRegister(), |
| 4334 LocationSummary::kNoCall); | 4334 LocationSummary::kNoCall); |
| 4335 } | 4335 } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4426 PcDescriptors::kOther, | 4426 PcDescriptors::kOther, |
| 4427 locs()); | 4427 locs()); |
| 4428 __ Drop(2); // Discard type arguments and receiver. | 4428 __ Drop(2); // Discard type arguments and receiver. |
| 4429 } | 4429 } |
| 4430 | 4430 |
| 4431 } // namespace dart | 4431 } // namespace dart |
| 4432 | 4432 |
| 4433 #undef __ | 4433 #undef __ |
| 4434 | 4434 |
| 4435 #endif // defined TARGET_ARCH_IA32 | 4435 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |