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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.h

Issue 10538024: Implemented missing instructions in ia32, more sharing, removed bailouts, enable optimiziations on … (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 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 8338)
+++ runtime/vm/flow_graph_compiler_ia32.h (working copy)
@@ -37,10 +37,10 @@
void CompileGraph();
- void GenerateCallRuntime(intptr_t cid,
- intptr_t token_index,
- intptr_t try_index,
- const RuntimeEntry& entry);
+ virtual void GenerateCallRuntime(intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index,
+ const RuntimeEntry& entry);
// Returns pc-offset (in bytes) of the pc after the call, can be used to emit
// pc-descriptor information.
@@ -55,28 +55,28 @@
const Array& arguments_descriptor,
intptr_t argument_count);
- void GenerateCall(intptr_t token_index,
- intptr_t try_index,
- const ExternalLabel* label,
- PcDescriptors::Kind kind);
- void GenerateInstanceOf(intptr_t cid,
- intptr_t token_index,
- intptr_t try_index,
- const AbstractType& type,
- bool negate_result);
- void GenerateAssertAssignable(intptr_t cid,
- intptr_t token_index,
- intptr_t try_index,
- const AbstractType& dst_type,
- const String& dst_name);
+ virtual void GenerateCall(intptr_t token_index,
+ intptr_t try_index,
+ const ExternalLabel* label,
+ PcDescriptors::Kind kind);
+ virtual void GenerateInstanceOf(intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index,
+ const AbstractType& type,
+ bool negate_result);
+ virtual void GenerateAssertAssignable(intptr_t cid,
+ intptr_t token_index,
+ intptr_t try_index,
+ const AbstractType& dst_type,
+ const String& dst_name);
+ static const int kLocalsOffsetFromFP = (-1 * kWordSize);
+
private:
friend class DeoptimizationStub;
- virtual void VisitBlocks();
-
void CopyParameters();
- void EmitInstructionPrologue(Instruction* instr);
+ virtual void EmitInstructionPrologue(Instruction* instr);
virtual void GenerateInlinedGetter(intptr_t offset);
virtual void GenerateInlinedSetter(intptr_t offset);
@@ -134,9 +134,6 @@
Label* is_equal_lbl,
Label* is_not_equal_lbl);
- void EmitComment(Instruction* instr);
- void BailoutOnInstruction(Instruction* instr);
-
DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
};
« 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