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

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

Issue 10912094: Reapply "Remove classes Computation and BindInstr." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_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_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h.
10 #endif 10 #endif
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 205 }
206 206
207 // Returns true if the generated code does not call other Dart code or 207 // Returns true if the generated code does not call other Dart code or
208 // runtime. Only deoptimization is allowed to occur. Closures are not leaf. 208 // runtime. Only deoptimization is allowed to occur. Closures are not leaf.
209 bool IsLeaf() const; 209 bool IsLeaf() const;
210 210
211 private: 211 private:
212 void GenerateDeferredCode(); 212 void GenerateDeferredCode();
213 213
214 void EmitInstructionPrologue(Instruction* instr); 214 void EmitInstructionPrologue(Instruction* instr);
215 void EmitInstructionEpilogue(Instruction* instr);
215 216
216 // Emit code to load a Value into register 'dst'. 217 // Emit code to load a Value into register 'dst'.
217 void LoadValue(Register dst, Value* value); 218 void LoadValue(Register dst, Value* value);
218 219
219 void EmitStaticCall(const Function& function, 220 void EmitStaticCall(const Function& function,
220 const Array& arguments_descriptor, 221 const Array& arguments_descriptor,
221 intptr_t argument_count, 222 intptr_t argument_count,
222 intptr_t deopt_id, 223 intptr_t deopt_id,
223 intptr_t token_pos, 224 intptr_t token_pos,
224 LocationSummary* locs); 225 LocationSummary* locs);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // that should be used when deoptimizing we store it in this variable. 317 // that should be used when deoptimizing we store it in this variable.
317 // In future AddDeoptStub should be moved out of the instruction template. 318 // In future AddDeoptStub should be moved out of the instruction template.
318 Environment* pending_deoptimization_env_; 319 Environment* pending_deoptimization_env_;
319 320
320 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 321 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
321 }; 322 };
322 323
323 } // namespace dart 324 } // namespace dart
324 325
325 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 326 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698