| 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 29 matching lines...) Expand all Loading... |
| 40 virtual void VisitIfNode(IfNode* node); | 40 virtual void VisitIfNode(IfNode* node); |
| 41 virtual void VisitInstanceCallNode(InstanceCallNode* node); | 41 virtual void VisitInstanceCallNode(InstanceCallNode* node); |
| 42 virtual void VisitStaticCallNode(StaticCallNode* node); | 42 virtual void VisitStaticCallNode(StaticCallNode* node); |
| 43 virtual void VisitReturnNode(ReturnNode* node); | 43 virtual void VisitReturnNode(ReturnNode* node); |
| 44 virtual void VisitSequenceNode(SequenceNode* node_sequence); | 44 virtual void VisitSequenceNode(SequenceNode* node_sequence); |
| 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(); | |
| 51 virtual bool IsOptimizing() const { return true; } | 50 virtual bool IsOptimizing() const { return true; } |
| 52 | 51 |
| 53 virtual void GenerateDeferredCode(); | 52 virtual void GenerateDeferredCode(); |
| 54 | 53 |
| 55 virtual void InitGenerator(); | 54 virtual void InitGenerator(); |
| 56 | 55 |
| 57 private: | 56 private: |
| 58 friend class DeoptimizationBlob; | 57 friend class DeoptimizationBlob; |
| 59 | 58 |
| 60 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, | 59 DeoptimizationBlob* AddDeoptimizationBlob(AstNode* node, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 const Class& double_class_; | 154 const Class& double_class_; |
| 156 const Class& growable_object_array_class_; | 155 const Class& growable_object_array_class_; |
| 157 | 156 |
| 158 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); | 157 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); |
| 159 }; | 158 }; |
| 160 | 159 |
| 161 } // namespace dart | 160 } // namespace dart |
| 162 | 161 |
| 163 | 162 |
| 164 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ | 163 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ |
| OLD | NEW |