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

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

Issue 670263007: IR refactoring: consolidate all boxing and unboxing instructions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « no previous file | 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 void FinalizeStackmaps(const Code& code); 466 void FinalizeStackmaps(const Code& code);
467 void FinalizeVarDescriptors(const Code& code); 467 void FinalizeVarDescriptors(const Code& code);
468 void FinalizeStaticCallTargetsTable(const Code& code); 468 void FinalizeStaticCallTargetsTable(const Code& code);
469 469
470 const Class& double_class() const { return double_class_; } 470 const Class& double_class() const { return double_class_; }
471 const Class& mint_class() const { return mint_class_; } 471 const Class& mint_class() const { return mint_class_; }
472 const Class& float32x4_class() const { return float32x4_class_; } 472 const Class& float32x4_class() const { return float32x4_class_; }
473 const Class& float64x2_class() const { return float64x2_class_; } 473 const Class& float64x2_class() const { return float64x2_class_; }
474 const Class& int32x4_class() const { return int32x4_class_; } 474 const Class& int32x4_class() const { return int32x4_class_; }
475 475
476 const Class& BoxClassFor(Representation rep);
477
476 void SaveLiveRegisters(LocationSummary* locs); 478 void SaveLiveRegisters(LocationSummary* locs);
477 void RestoreLiveRegisters(LocationSummary* locs); 479 void RestoreLiveRegisters(LocationSummary* locs);
478 480
479 Environment* SlowPathEnvironmentFor(Instruction* instruction); 481 Environment* SlowPathEnvironmentFor(Instruction* instruction);
480 482
481 intptr_t CurrentTryIndex() const { 483 intptr_t CurrentTryIndex() const {
482 if (current_block_ == NULL) { 484 if (current_block_ == NULL) {
483 return CatchClauseNode::kInvalidTryIndex; 485 return CatchClauseNode::kInvalidTryIndex;
484 } 486 }
485 return current_block_->try_index(); 487 return current_block_->try_index();
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 intptr_t lazy_deopt_pc_offset_; 666 intptr_t lazy_deopt_pc_offset_;
665 667
666 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_; 668 ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data_;
667 669
668 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 670 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
669 }; 671 };
670 672
671 } // namespace dart 673 } // namespace dart
672 674
673 #endif // VM_FLOW_GRAPH_COMPILER_H_ 675 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698