| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_OPT_CODE_GENERATOR_IA32_H_ | 5 #ifndef VM_OPT_CODE_GENERATOR_IA32_H_ |
| 6 #define VM_OPT_CODE_GENERATOR_IA32_H_ | 6 #define VM_OPT_CODE_GENERATOR_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_OPT_CODE_GENERATOR_H_ | 8 #ifndef VM_OPT_CODE_GENERATOR_H_ |
| 9 #error Do not include opt_code_generator_ia32.h; use opt_code_generator.h. | 9 #error Do not include opt_code_generator_ia32.h; use opt_code_generator.h. |
| 10 #endif | 10 #endif |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); | 45 virtual void VisitStoreInstanceFieldNode(StoreInstanceFieldNode* node); |
| 46 virtual void VisitCatchClauseNode(CatchClauseNode* node); | 46 virtual void VisitCatchClauseNode(CatchClauseNode* node); |
| 47 virtual void VisitTryCatchNode(TryCatchNode* node); | 47 virtual void VisitTryCatchNode(TryCatchNode* node); |
| 48 virtual void VisitUnaryOpNode(UnaryOpNode* node); | 48 virtual void VisitUnaryOpNode(UnaryOpNode* node); |
| 49 | 49 |
| 50 virtual void GeneratePreEntryCode(); | 50 virtual void GeneratePreEntryCode(); |
| 51 virtual bool IsOptimizing() const { return true; } | 51 virtual bool IsOptimizing() const { return true; } |
| 52 | 52 |
| 53 virtual void GenerateDeferredCode(); | 53 virtual void GenerateDeferredCode(); |
| 54 | 54 |
| 55 virtual void InitGenerator(); |
| 56 |
| 55 private: | 57 private: |
| 56 friend class DeoptimizationBlob; | 58 friend class DeoptimizationBlob; |
| 57 | 59 |
| 58 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, | 60 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, |
| 59 DeoptReasonId reason_id); | 61 DeoptReasonId reason_id); |
| 60 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, | 62 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, |
| 61 Register reg1, | 63 Register reg1, |
| 62 DeoptReasonId reason_id); | 64 DeoptReasonId reason_id); |
| 63 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, | 65 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, |
| 64 Register reg1, | 66 Register reg1, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 const Class& double_class_; | 159 const Class& double_class_; |
| 158 const Class& growable_object_array_class_; | 160 const Class& growable_object_array_class_; |
| 159 | 161 |
| 160 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | 162 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); |
| 161 }; | 163 }; |
| 162 | 164 |
| 163 } // namespace dart | 165 } // namespace dart |
| 164 | 166 |
| 165 | 167 |
| 166 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ | 168 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |