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

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

Issue 1073173003: Eliminate object table and use regular object pool for deoptimization infos. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 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
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 Label* AddDeoptStub(intptr_t deopt_id, 464 Label* AddDeoptStub(intptr_t deopt_id,
465 ICData::DeoptReasonId reason, 465 ICData::DeoptReasonId reason,
466 uint32_t flags = 0); 466 uint32_t flags = 0);
467 467
468 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); 468 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos);
469 469
470 void AddSlowPathCode(SlowPathCode* slow_path); 470 void AddSlowPathCode(SlowPathCode* slow_path);
471 471
472 void FinalizeExceptionHandlers(const Code& code); 472 void FinalizeExceptionHandlers(const Code& code);
473 void FinalizePcDescriptors(const Code& code); 473 void FinalizePcDescriptors(const Code& code);
474 void FinalizeDeoptInfo(const Code& code); 474 RawArray* CreateDeoptInfo(Assembler* assembler);
475 void FinalizeStackmaps(const Code& code); 475 void FinalizeStackmaps(const Code& code);
476 void FinalizeVarDescriptors(const Code& code); 476 void FinalizeVarDescriptors(const Code& code);
477 void FinalizeStaticCallTargetsTable(const Code& code); 477 void FinalizeStaticCallTargetsTable(const Code& code);
478 478
479 const Class& double_class() const { return double_class_; } 479 const Class& double_class() const { return double_class_; }
480 const Class& mint_class() const { return mint_class_; } 480 const Class& mint_class() const { return mint_class_; }
481 const Class& float32x4_class() const { return float32x4_class_; } 481 const Class& float32x4_class() const { return float32x4_class_; }
482 const Class& float64x2_class() const { return float64x2_class_; } 482 const Class& float64x2_class() const { return float64x2_class_; }
483 const Class& int32x4_class() const { return int32x4_class_; } 483 const Class& int32x4_class() const { return int32x4_class_; }
484 484
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 const Array* inlined_code_intervals_; 711 const Array* inlined_code_intervals_;
712 const GrowableArray<const Function*>& inline_id_to_function_; 712 const GrowableArray<const Function*>& inline_id_to_function_;
713 const GrowableArray<intptr_t>& caller_inline_id_; 713 const GrowableArray<intptr_t>& caller_inline_id_;
714 714
715 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 715 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
716 }; 716 };
717 717
718 } // namespace dart 718 } // namespace dart
719 719
720 #endif // VM_FLOW_GRAPH_COMPILER_H_ 720 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698