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 #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 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1523 const LocalVariable& exception_var_; | 1523 const LocalVariable& exception_var_; |
| 1524 const LocalVariable& stacktrace_var_; | 1524 const LocalVariable& stacktrace_var_; |
| 1525 | 1525 |
| 1526 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp); | 1526 DISALLOW_COPY_AND_ASSIGN(CatchEntryComp); |
| 1527 }; | 1527 }; |
| 1528 | 1528 |
| 1529 | 1529 |
| 1530 class BinaryOpComp : public TemplateComputation<2> { | 1530 class BinaryOpComp : public TemplateComputation<2> { |
| 1531 public: | 1531 public: |
| 1532 enum OperandsType { | 1532 enum OperandsType { |
| 1533 kIllegalOperands, | |
|
regis
2012/06/22 20:50:12
Would kUnrecognizedOperands or kDynamicOperands be
srdjan
2012/06/22 20:54:26
kDynamicOperands
| |
| 1533 kSmiOperands, | 1534 kSmiOperands, |
| 1534 kMintOperands, | 1535 kMintOperands, |
| 1535 kDoubleOperands | 1536 kDoubleOperands |
| 1536 }; | 1537 }; |
| 1537 | 1538 |
| 1538 BinaryOpComp(Token::Kind op_kind, | 1539 BinaryOpComp(Token::Kind op_kind, |
| 1539 OperandsType operands_type, | 1540 OperandsType operands_type, |
| 1540 InstanceCallComp* instance_call, | 1541 InstanceCallComp* instance_call, |
| 1541 Value* left, | 1542 Value* left, |
| 1542 Value* right) | 1543 Value* right) |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2429 const GrowableArray<BlockEntryInstr*>& block_order_; | 2430 const GrowableArray<BlockEntryInstr*>& block_order_; |
| 2430 | 2431 |
| 2431 private: | 2432 private: |
| 2432 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); | 2433 DISALLOW_COPY_AND_ASSIGN(FlowGraphVisitor); |
| 2433 }; | 2434 }; |
| 2434 | 2435 |
| 2435 | 2436 |
| 2436 } // namespace dart | 2437 } // namespace dart |
| 2437 | 2438 |
| 2438 #endif // VM_INTERMEDIATE_LANGUAGE_H_ | 2439 #endif // VM_INTERMEDIATE_LANGUAGE_H_ |
| OLD | NEW |