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

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

Issue 8996024: Fix a bug in intrinsified Array_setIndexed type check. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void InlineInstanceSetter(AstNode* node, 104 void InlineInstanceSetter(AstNode* node,
105 intptr_t id, 105 intptr_t id,
106 AstNode* receiver, 106 AstNode* receiver,
107 const String& field_name, 107 const String& field_name,
108 Register recv_reg, 108 Register recv_reg,
109 Register value_reg); 109 Register value_reg);
110 110
111 void CallDeoptimize(intptr_t node_id, intptr_t token_index); 111 void CallDeoptimize(intptr_t node_id, intptr_t token_index);
112 112
113 void GenerateSmiUnaryOp(UnaryOpNode* node); 113 void GenerateSmiUnaryOp(UnaryOpNode* node);
114 void GenerateDoubleUnaryOp(UnaryOpNode* node);
114 115
115 void GenerateSmiBinaryOp(BinaryOpNode* node); 116 void GenerateSmiBinaryOp(BinaryOpNode* node);
116 void GenerateSmiShiftBinaryOp(BinaryOpNode* node); 117 void GenerateSmiShiftBinaryOp(BinaryOpNode* node);
117 118
118 void GenerateDoubleBinaryOp(BinaryOpNode* node); 119 void GenerateDoubleBinaryOp(BinaryOpNode* node);
119 void GenerateMintBinaryOp(BinaryOpNode* node, bool allow_smi); 120 void GenerateMintBinaryOp(BinaryOpNode* node, bool allow_smi);
120 void CheckIfDoubleOrSmi(Register reg, 121 void CheckIfDoubleOrSmi(Register reg,
121 Register temp, 122 Register temp,
122 Label* is_smi, 123 Label* is_smi,
123 Label* not_double_or_smi); 124 Label* not_double_or_smi);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 const Class& smi_class_; 163 const Class& smi_class_;
163 const Class& double_class_; 164 const Class& double_class_;
164 165
165 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator); 166 DISALLOW_IMPLICIT_CONSTRUCTORS(OptimizingCodeGenerator);
166 }; 167 };
167 168
168 } // namespace dart 169 } // namespace dart
169 170
170 171
171 #endif // VM_OPT_CODE_GENERATOR_IA32_H_ 172 #endif // VM_OPT_CODE_GENERATOR_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698