| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/flow_graph_allocator.h" | 9 #include "vm/flow_graph_allocator.h" |
| 10 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 RawAbstractType* UnarySmiOpComp::CompileType() const { | 826 RawAbstractType* UnarySmiOpComp::CompileType() const { |
| 827 return Type::IntInterface(); | 827 return Type::IntInterface(); |
| 828 } | 828 } |
| 829 | 829 |
| 830 | 830 |
| 831 RawAbstractType* NumberNegateComp::CompileType() const { | 831 RawAbstractType* NumberNegateComp::CompileType() const { |
| 832 return Type::NumberInterface(); | 832 return Type::NumberInterface(); |
| 833 } | 833 } |
| 834 | 834 |
| 835 | 835 |
| 836 RawAbstractType* ToDoubleComp::CompileType() const { | 836 RawAbstractType* DoubleToDoubleComp::CompileType() const { |
| 837 return Type::DoubleInterface(); |
| 838 } |
| 839 |
| 840 |
| 841 RawAbstractType* SmiToDoubleComp::CompileType() const { |
| 837 return Type::DoubleInterface(); | 842 return Type::DoubleInterface(); |
| 838 } | 843 } |
| 839 | 844 |
| 840 | 845 |
| 841 // Shared code generation methods (EmitNativeCode, MakeLocationSummary, and | 846 // Shared code generation methods (EmitNativeCode, MakeLocationSummary, and |
| 842 // PrepareEntry). Only assembly code that can be shared across all architectures | 847 // PrepareEntry). Only assembly code that can be shared across all architectures |
| 843 // can be used. Machine specific register allocation and code generation | 848 // can be used. Machine specific register allocation and code generation |
| 844 // is located in intermediate_language_<arch>.cc | 849 // is located in intermediate_language_<arch>.cc |
| 845 | 850 |
| 846 | 851 |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1309 if (compiler->is_ssa()) { | 1314 if (compiler->is_ssa()) { |
| 1310 ASSERT(locs()->in(0).IsRegister()); | 1315 ASSERT(locs()->in(0).IsRegister()); |
| 1311 __ PushRegister(locs()->in(0).reg()); | 1316 __ PushRegister(locs()->in(0).reg()); |
| 1312 } | 1317 } |
| 1313 } | 1318 } |
| 1314 | 1319 |
| 1315 | 1320 |
| 1316 #undef __ | 1321 #undef __ |
| 1317 | 1322 |
| 1318 } // namespace dart | 1323 } // namespace dart |
| OLD | NEW |