| 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/intermediate_language.h" | 5 #include "vm/intermediate_language.h" |
| 6 | 6 |
| 7 #include "vm/bit_vector.h" | 7 #include "vm/bit_vector.h" |
| 8 #include "vm/cpu.h" | 8 #include "vm/cpu.h" |
| 9 #include "vm/dart_entry.h" | 9 #include "vm/dart_entry.h" |
| 10 #include "vm/flow_graph_allocator.h" | 10 #include "vm/flow_graph_allocator.h" |
| (...skipping 2548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2559 UNREACHABLE(); | 2559 UNREACHABLE(); |
| 2560 return NULL; | 2560 return NULL; |
| 2561 } | 2561 } |
| 2562 | 2562 |
| 2563 | 2563 |
| 2564 void ParameterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 2564 void ParameterInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 2565 UNREACHABLE(); | 2565 UNREACHABLE(); |
| 2566 } | 2566 } |
| 2567 | 2567 |
| 2568 | 2568 |
| 2569 bool ParallelMoveInstr::IsRedundant() const { |
| 2570 for (intptr_t i = 0; i < moves_.length(); i++) { |
| 2571 if (!moves_[i]->IsRedundant()) { |
| 2572 return false; |
| 2573 } |
| 2574 } |
| 2575 return true; |
| 2576 } |
| 2577 |
| 2578 |
| 2569 LocationSummary* ParallelMoveInstr::MakeLocationSummary(Isolate* isolate, | 2579 LocationSummary* ParallelMoveInstr::MakeLocationSummary(Isolate* isolate, |
| 2570 bool optimizing) const { | 2580 bool optimizing) const { |
| 2571 return NULL; | 2581 return NULL; |
| 2572 } | 2582 } |
| 2573 | 2583 |
| 2574 | 2584 |
| 2575 void ParallelMoveInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 2585 void ParallelMoveInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 2576 UNREACHABLE(); | 2586 UNREACHABLE(); |
| 2577 } | 2587 } |
| 2578 | 2588 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3356 case Token::kTRUNCDIV: return 0; | 3366 case Token::kTRUNCDIV: return 0; |
| 3357 case Token::kMOD: return 1; | 3367 case Token::kMOD: return 1; |
| 3358 default: UNIMPLEMENTED(); return -1; | 3368 default: UNIMPLEMENTED(); return -1; |
| 3359 } | 3369 } |
| 3360 } | 3370 } |
| 3361 | 3371 |
| 3362 | 3372 |
| 3363 #undef __ | 3373 #undef __ |
| 3364 | 3374 |
| 3365 } // namespace dart | 3375 } // namespace dart |
| OLD | NEW |