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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.h

Issue 10458050: Move ReturnInstr to new scheme (x64 and ia32) and implement more code in new ia32 compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_ia32.h
===================================================================
--- runtime/vm/flow_graph_compiler_ia32.h (revision 8165)
+++ runtime/vm/flow_graph_compiler_ia32.h (working copy)
@@ -45,7 +45,35 @@
void FinalizeComments(const Code& code);
Assembler* assembler() const { return assembler_; }
+ bool is_optimizing() const { return is_optimizing_; }
+ const ParsedFunction& parsed_function() const { return parsed_function_; }
+ void GenerateCallRuntime(intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index,
+ const RuntimeEntry& entry);
+ void AddCurrentDescriptor(PcDescriptors::Kind kind,
+ intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index);
+
+ void EmitInstanceCall(intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index,
+ const String& function_name,
+ intptr_t argument_count,
+ const Array& argument_names,
+ intptr_t checked_argument_count);
+ void EmitStaticCall(intptr_t token_index,
+ intptr_t try_index,
+ const Function& function,
+ intptr_t argument_count,
+ const Array& argument_names);
+ void GenerateCall(intptr_t token_index,
+ intptr_t try_index,
+ const ExternalLabel* label,
+ PcDescriptors::Kind kind);
+
private:
friend class DeoptimizationStub;
@@ -67,14 +95,6 @@
Label label;
};
- void GenerateCallRuntime(intptr_t cid,
- intptr_t token_index,
- intptr_t try_index,
- const RuntimeEntry& entry);
- void AddCurrentDescriptor(PcDescriptors::Kind kind,
- intptr_t cid,
- intptr_t token_index,
- intptr_t try_index);
void CopyParameters();
void EmitInstructionPrologue(Instruction* instr);
« no previous file with comments | « runtime/vm/assembler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698