| 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 1549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1560 const LocalVariable& stacktrace_var_; | 1560 const LocalVariable& stacktrace_var_; |
| 1561 | 1561 |
| 1562 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp); | 1562 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp); |
| 1563 }; | 1563 }; |
| 1564 | 1564 |
| 1565 | 1565 |
| 1566 class BinaryOpComp : public TemplateComputation<2> { | 1566 class BinaryOpComp : public TemplateComputation<2> { |
| 1567 public: | 1567 public: |
| 1568 enum OperandsType { | 1568 enum OperandsType { |
| 1569 kSmiOperands, | 1569 kSmiOperands, |
| 1570 kMintOperands, |
| 1570 kDoubleOperands | 1571 kDoubleOperands |
| 1571 }; | 1572 }; |
| 1572 | 1573 |
| 1573 BinaryOpComp(Token::Kind op_kind, | 1574 BinaryOpComp(Token::Kind op_kind, |
| 1574 OperandsType operands_type, | 1575 OperandsType operands_type, |
| 1575 InstanceCallComp* instance_call, | 1576 InstanceCallComp* instance_call, |
| 1576 Value* left, | 1577 Value* left, |
| 1577 Value* right) | 1578 Value* right) |
| 1578 : op_kind_(op_kind), | 1579 : op_kind_(op_kind), |
| 1579 operands_type_(operands_type), | 1580 operands_type_(operands_type), |
| (...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2424 const GrowableArray<BlockEntryInstr*>& block_order_; | 2425 const GrowableArray<BlockEntryInstr*>& block_order_; |
| 2425 | 2426 |
| 2426 private: | 2427 private: |
| 2427 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 2428 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 2428 }; | 2429 }; |
| 2429 | 2430 |
| 2430 | 2431 |
| 2431 } // namespace dart | 2432 } // namespace dart |
| 2432 | 2433 |
| 2433 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 2434 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |