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_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/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 3614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3625 break; | 3625 break; |
| 3626 } | 3626 } |
| 3627 case Token::kBIT_OR: { | 3627 case Token::kBIT_OR: { |
| 3628 __ vorrq(result, left, right); | 3628 __ vorrq(result, left, right); |
| 3629 break; | 3629 break; |
| 3630 } | 3630 } |
| 3631 case Token::kBIT_XOR: { | 3631 case Token::kBIT_XOR: { |
| 3632 __ veorq(result, left, right); | 3632 __ veorq(result, left, right); |
| 3633 break; | 3633 break; |
| 3634 } | 3634 } |
| 3635 case Token::kADD: | |
| 3636 UNIMPLEMENTED(); | |
| 3637 break; | |
|
srdjan
2013/08/19 21:45:23
fix indent of 'break' (also below).
Cutch
2013/08/19 21:58:25
Done.
| |
| 3638 case Token::kSUB: | |
| 3639 UNIMPLEMENTED(); | |
| 3640 break; | |
| 3635 default: UNREACHABLE(); | 3641 default: UNREACHABLE(); |
| 3636 } | 3642 } |
| 3637 } | 3643 } |
| 3638 | 3644 |
| 3639 | 3645 |
| 3640 LocationSummary* MathUnaryInstr::MakeLocationSummary() const { | 3646 LocationSummary* MathUnaryInstr::MakeLocationSummary() const { |
| 3641 const intptr_t kNumInputs = 1; | 3647 const intptr_t kNumInputs = 1; |
| 3642 const intptr_t kNumTemps = 0; | 3648 const intptr_t kNumTemps = 0; |
| 3643 LocationSummary* summary = | 3649 LocationSummary* summary = |
| 3644 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall); | 3650 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall); |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4452 compiler->GenerateCall(token_pos(), | 4458 compiler->GenerateCall(token_pos(), |
| 4453 &label, | 4459 &label, |
| 4454 PcDescriptors::kOther, | 4460 PcDescriptors::kOther, |
| 4455 locs()); | 4461 locs()); |
| 4456 __ Drop(2); // Discard type arguments and receiver. | 4462 __ Drop(2); // Discard type arguments and receiver. |
| 4457 } | 4463 } |
| 4458 | 4464 |
| 4459 } // namespace dart | 4465 } // namespace dart |
| 4460 | 4466 |
| 4461 #endif // defined TARGET_ARCH_ARM | 4467 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |