| Index: runtime/vm/flow_graph_compiler_ia32.h
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_ia32.h (revision 11693)
|
| +++ runtime/vm/flow_graph_compiler_ia32.h (working copy)
|
| @@ -12,7 +12,6 @@
|
| namespace dart {
|
|
|
| class Code;
|
| -class DeoptimizationStub;
|
| class FlowGraph;
|
| template <typename T> class GrowableArray;
|
| class ParsedFunction;
|
| @@ -206,9 +205,11 @@
|
|
|
| static const int kLocalsOffsetFromFP = (-1 * kWordSize);
|
|
|
| - private:
|
| - friend class DeoptimizationStub;
|
| + // Returns true if the generated code does not call other Dart code or
|
| + // runtime. Only deoptimization is allowed to occur. Closures are not leaf.
|
| + bool IsLeaf() const;
|
|
|
| + private:
|
| void GenerateDeferredCode();
|
|
|
| void EmitInstructionPrologue(Instruction* instr);
|
| @@ -287,10 +288,6 @@
|
| return block_order_.length() - index - 1;
|
| }
|
|
|
| - // Returns true if the generated code does not call other Dart code or
|
| - // runtime. Only deoptimization is allowed to occur. Closures are not leaf.
|
| - bool IsLeaf() const;
|
| -
|
| class Assembler* assembler_;
|
| const ParsedFunction& parsed_function_;
|
| const GrowableArray<BlockEntryInstr*>& block_order_;
|
| @@ -303,7 +300,7 @@
|
| DescriptorList* pc_descriptors_list_;
|
| StackmapTableBuilder* stackmap_table_builder_;
|
| GrowableArray<BlockInfo*> block_info_;
|
| - GrowableArray<DeoptimizationStub*> deopt_stubs_;
|
| + GrowableArray<CompilerDeoptInfo*> deopt_infos_;
|
| GrowableArray<SlowPathCode*> slow_path_code_;
|
| const GrowableObjectArray& object_table_;
|
| const bool is_optimizing_;
|
|
|