Chromium Code Reviews| 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 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 538 return AbstractType::null(); | 538 return AbstractType::null(); |
| 539 } | 539 } |
| 540 | 540 |
| 541 | 541 |
| 542 RawAbstractType* BinaryOpComp::StaticType() const { | 542 RawAbstractType* BinaryOpComp::StaticType() const { |
| 543 // TODO(srdjan): Compute based on input types (ICData). | 543 // TODO(srdjan): Compute based on input types (ICData). |
| 544 return Type::DynamicType(); | 544 return Type::DynamicType(); |
| 545 } | 545 } |
| 546 | 546 |
| 547 | 547 |
| 548 RawAbstractType* UnaryOpComp::StaticType() const { | |
| 549 // TODO(srdjan): Compute based on input types (ICData). | |
|
regis
2012/05/31 09:48:19
I am not sure that StaticType will depend on ICDat
srdjan
2012/05/31 20:20:42
Changed to NumberInterface, which is the static ty
| |
| 550 return Type::DynamicType(); | |
| 551 } | |
| 552 | |
| 553 | |
| 548 } // namespace dart | 554 } // namespace dart |
| OLD | NEW |