| 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_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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 case NOT_EQUAL: return EQUAL; | 121 case NOT_EQUAL: return EQUAL; |
| 122 case LESS: return GREATER_EQUAL; | 122 case LESS: return GREATER_EQUAL; |
| 123 case LESS_EQUAL: return GREATER; | 123 case LESS_EQUAL: return GREATER; |
| 124 case GREATER: return LESS_EQUAL; | 124 case GREATER: return LESS_EQUAL; |
| 125 case GREATER_EQUAL: return LESS; | 125 case GREATER_EQUAL: return LESS; |
| 126 case BELOW: return ABOVE_EQUAL; | 126 case BELOW: return ABOVE_EQUAL; |
| 127 case BELOW_EQUAL: return ABOVE; | 127 case BELOW_EQUAL: return ABOVE; |
| 128 case ABOVE: return BELOW_EQUAL; | 128 case ABOVE: return BELOW_EQUAL; |
| 129 case ABOVE_EQUAL: return BELOW; | 129 case ABOVE_EQUAL: return BELOW; |
| 130 default: | 130 default: |
| 131 OS::Print("Error %d\n", condition); | |
| 132 UNIMPLEMENTED(); | 131 UNIMPLEMENTED(); |
| 133 return EQUAL; | 132 return EQUAL; |
| 134 } | 133 } |
| 135 } | 134 } |
| 136 | 135 |
| 137 | 136 |
| 138 static bool BindsToSmiConstant(Value* val, intptr_t* smi_value) { | 137 static bool BindsToSmiConstant(Value* val, intptr_t* smi_value) { |
| 139 if (!val->BindsToConstant()) { | 138 if (!val->BindsToConstant()) { |
| 140 return false; | 139 return false; |
| 141 } | 140 } |
| (...skipping 3468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3610 PcDescriptors::kOther, | 3609 PcDescriptors::kOther, |
| 3611 locs()); | 3610 locs()); |
| 3612 __ Drop(2); // Discard type arguments and receiver. | 3611 __ Drop(2); // Discard type arguments and receiver. |
| 3613 } | 3612 } |
| 3614 | 3613 |
| 3615 } // namespace dart | 3614 } // namespace dart |
| 3616 | 3615 |
| 3617 #undef __ | 3616 #undef __ |
| 3618 | 3617 |
| 3619 #endif // defined TARGET_ARCH_X64 | 3618 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |