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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.h

Issue 10500005: More shared code. (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 | « no previous file | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | runtime/vm/flow_graph_compiler_shared.h » ('J')
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 8214)
+++ runtime/vm/flow_graph_compiler_ia32.h (working copy)
@@ -36,25 +36,20 @@
void CompileGraph();
- void FinalizeComments(const Code& code);
-
void GenerateCallRuntime(intptr_t cid,
intptr_t token_index,
intptr_t try_index,
const RuntimeEntry& entry);
- 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);
+ virtual intptr_t EmitInstanceCall(ExternalLabel* target_label,
+ const ICData& ic_data,
+ const Array& arguments_descriptor,
+ intptr_t argument_count);
+
+ virtual intptr_t EmitStaticCall(const Function& function,
+ const Array& arguments_descriptor,
+ intptr_t argument_count);
+
void GenerateCall(intptr_t token_index,
intptr_t try_index,
const ExternalLabel* label,
@@ -63,18 +58,13 @@
private:
friend class DeoptimizationStub;
- // Bail out of the flow graph compiler. Does not return to the caller.
- void Bailout(const char* reason);
-
virtual void VisitBlocks();
void CopyParameters();
void EmitInstructionPrologue(Instruction* instr);
- bool CanOptimize();
- bool TryIntrinsify();
- void IntrinsifyGetter();
- void IntrinsifySetter();
+ virtual void IntrinsifyGetter();
+ virtual void IntrinsifySetter();
void EmitComment(Instruction* instr);
void BailoutOnInstruction(Instruction* instr);
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | runtime/vm/flow_graph_compiler_shared.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698