| 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 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ | 5 #ifndef VM_INTERMEDIATE_LANGUAGE_H_ |
| 6 #define VM_INTERMEDIATE_LANGUAGE_H_ | 6 #define VM_INTERMEDIATE_LANGUAGE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/ast.h" | 9 #include "vm/ast.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 token_index_(token_index), | 505 token_index_(token_index), |
| 506 value_(value), | 506 value_(value), |
| 507 type_(type), | 507 type_(type), |
| 508 negate_result_(negate_result) {} | 508 negate_result_(negate_result) {} |
| 509 | 509 |
| 510 DECLARE_COMPUTATION(InstanceOf) | 510 DECLARE_COMPUTATION(InstanceOf) |
| 511 | 511 |
| 512 Value* value() const { return value_; } | 512 Value* value() const { return value_; } |
| 513 bool negate_result() const { return negate_result_; } | 513 bool negate_result() const { return negate_result_; } |
| 514 const AbstractType& type() const { return type_; } | 514 const AbstractType& type() const { return type_; } |
| 515 intptr_t node_id() const { return node_id_; } |
| 516 intptr_t token_index() const { return token_index_; } |
| 515 | 517 |
| 516 private: | 518 private: |
| 517 const intptr_t node_id_; | 519 const intptr_t node_id_; |
| 518 const intptr_t token_index_; | 520 const intptr_t token_index_; |
| 519 Value* value_; | 521 Value* value_; |
| 520 const AbstractType& type_; | 522 const AbstractType& type_; |
| 521 const bool negate_result_; | 523 const bool negate_result_; |
| 522 | 524 |
| 523 DISALLOW_COPY_AND_ASSIGN(InstanceOfComp); | 525 DISALLOW_COPY_AND_ASSIGN(InstanceOfComp); |
| 524 }; | 526 }; |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 #undef DECLARE_VISIT_INSTRUCTION | 912 #undef DECLARE_VISIT_INSTRUCTION |
| 911 | 913 |
| 912 private: | 914 private: |
| 913 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 915 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 914 }; | 916 }; |
| 915 | 917 |
| 916 | 918 |
| 917 } // namespace dart | 919 } // namespace dart |
| 918 | 920 |
| 919 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 921 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |