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

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

Issue 10540040: Inline setters, getters, various cleanups & restructuring. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 months 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) 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_FLOW_GRAPH_COMPILER_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 intptr_t token_index, 63 intptr_t token_index,
64 intptr_t try_index, 64 intptr_t try_index,
65 const AbstractType& type, 65 const AbstractType& type,
66 bool negate_result); 66 bool negate_result);
67 void GenerateAssertAssignable(intptr_t cid, 67 void GenerateAssertAssignable(intptr_t cid,
68 intptr_t token_index, 68 intptr_t token_index,
69 intptr_t try_index, 69 intptr_t try_index,
70 const AbstractType& dst_type, 70 const AbstractType& dst_type,
71 const String& dst_name); 71 const String& dst_name);
72 72
73 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids,
74 Register instance_reg,
75 Register temp_reg,
76 Label* deopt);
77
73 private: 78 private:
74 friend class DeoptimizationStub; 79 friend class DeoptimizationStub;
75 80
76 virtual void VisitBlocks(); 81 virtual void VisitBlocks();
77 82
78 void CopyParameters(); 83 void CopyParameters();
79 void EmitInstructionPrologue(Instruction* instr); 84 void EmitInstructionPrologue(Instruction* instr);
80 85
81 virtual void GenerateInlinedGetter(intptr_t offset); 86 virtual void GenerateInlinedGetter(intptr_t offset);
82 virtual void GenerateInlinedSetter(intptr_t offset); 87 virtual void GenerateInlinedSetter(intptr_t offset);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 141
137 void EmitComment(Instruction* instr); 142 void EmitComment(Instruction* instr);
138 void BailoutOnInstruction(Instruction* instr); 143 void BailoutOnInstruction(Instruction* instr);
139 144
140 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 145 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
141 }; 146 };
142 147
143 } // namespace dart 148 } // namespace dart
144 149
145 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 150 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698