Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Side by Side Diff: runtime/vm/opt_code_generator_ia32.h

Issue 8394061: Store IC data instead of array of classes in AST node, so that we can easier access targets and f... (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 bool GenerateSmiComparison(ComparisonNode* node); 94 bool GenerateSmiComparison(ComparisonNode* node);
95 bool GenerateDoubleComparison(ComparisonNode* node); 95 bool GenerateDoubleComparison(ComparisonNode* node);
96 bool GenerateEqualityComparison(ComparisonNode* node); 96 bool GenerateEqualityComparison(ComparisonNode* node);
97 void GenerateLogicalBinaryOp(BinaryOpNode* node); 97 void GenerateLogicalBinaryOp(BinaryOpNode* node);
98 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition); 98 void GenerateConditionalJumps(const CodeGenInfo& nInfo, Condition condition);
99 bool TryInlineInstanceCall(InstanceCallNode* node); 99 bool TryInlineInstanceCall(InstanceCallNode* node);
100 bool TryInlineStaticCall(StaticCallNode* node); 100 bool TryInlineStaticCall(StaticCallNode* node);
101 bool GenerateCheckedInstanceCalls(InstanceCallNode* node); 101 bool GenerateCheckedInstanceCalls(InstanceCallNode* node);
102 void GenerateDirectInstanceCall(InstanceCallNode* node, const Class& cls); 102 void GenerateDirectInstanceCall(InstanceCallNode* node, const Class& cls);
103 103
104
105 bool IsResultInEaxRequested(AstNode* node) const; 104 bool IsResultInEaxRequested(AstNode* node) const;
106 bool NodeMayBeSmi(AstNode* node) const; 105 bool NodeMayBeSmi(AstNode* node) const;
107 106
108 void PrintCollectedClasses(AstNode* node); 107 void PrintCollectedClasses(AstNode* node);
109 void TraceOpt(AstNode* node, const char* message); 108 void TraceOpt(AstNode* node, const char* message);
110 void TraceNotOpt(AstNode* node, const char* message); 109 void TraceNotOpt(AstNode* node, const char* message);
111 110
112 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_; 111 GrowableArray<DeoptimizationBlob*> deoptimization_blobs_;
113 const Class& smi_class_; 112 const Class& smi_class_;
114 const Class& double_class_; 113 const Class& double_class_;
115 114
116 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); 115 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator);
117 }; 116 };
118 117
119 } // namespace dart 118 } // namespace dart
120 119
121 120
122 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ 121 #endif // VM_OPT_CODE_GENERATOR_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698