| 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/flow_graph_builder.h" | 8 #include "vm/flow_graph_builder.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/os.h" | 10 #include "vm/os.h" |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 return AbstractType::null(); | 528 return AbstractType::null(); |
| 529 } | 529 } |
| 530 | 530 |
| 531 | 531 |
| 532 RawAbstractType* BinaryOpComp::StaticType() const { | 532 RawAbstractType* BinaryOpComp::StaticType() const { |
| 533 // TODO(srdjan): Compute based on input types (ICData). | 533 // TODO(srdjan): Compute based on input types (ICData). |
| 534 return Type::DynamicType(); | 534 return Type::DynamicType(); |
| 535 } | 535 } |
| 536 | 536 |
| 537 | 537 |
| 538 RawAbstractType* UnarySmiOpComp::StaticType() const { |
| 539 return Type::IntInterface(); |
| 540 } |
| 541 |
| 542 |
| 543 RawAbstractType* NumberNegateComp::StaticType() const { |
| 544 return Type::NumberInterface(); |
| 545 } |
| 546 |
| 547 |
| 548 |
| 538 } // namespace dart | 549 } // namespace dart |
| OLD | NEW |