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

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

Issue 172653002: Unbox/Box Float64x2 and inline typed array loads and stores (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/flow_graph_allocator.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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 void FinalizeExceptionHandlers(const Code& code); 421 void FinalizeExceptionHandlers(const Code& code);
422 void FinalizePcDescriptors(const Code& code); 422 void FinalizePcDescriptors(const Code& code);
423 void FinalizeDeoptInfo(const Code& code); 423 void FinalizeDeoptInfo(const Code& code);
424 void FinalizeStackmaps(const Code& code); 424 void FinalizeStackmaps(const Code& code);
425 void FinalizeVarDescriptors(const Code& code); 425 void FinalizeVarDescriptors(const Code& code);
426 void FinalizeComments(const Code& code); 426 void FinalizeComments(const Code& code);
427 void FinalizeStaticCallTargetsTable(const Code& code); 427 void FinalizeStaticCallTargetsTable(const Code& code);
428 428
429 const Class& double_class() const { return double_class_; } 429 const Class& double_class() const { return double_class_; }
430 const Class& float32x4_class() const { return float32x4_class_; } 430 const Class& float32x4_class() const { return float32x4_class_; }
431 const Class& float64x2_class() const { return float64x2_class_; }
431 const Class& int32x4_class() const { return int32x4_class_; } 432 const Class& int32x4_class() const { return int32x4_class_; }
432 433
433 void SaveLiveRegisters(LocationSummary* locs); 434 void SaveLiveRegisters(LocationSummary* locs);
434 void RestoreLiveRegisters(LocationSummary* locs); 435 void RestoreLiveRegisters(LocationSummary* locs);
435 436
436 Environment* SlowPathEnvironmentFor(Instruction* instruction); 437 Environment* SlowPathEnvironmentFor(Instruction* instruction);
437 438
438 intptr_t CurrentTryIndex() const { 439 intptr_t CurrentTryIndex() const {
439 if (current_block_ == NULL) { 440 if (current_block_ == NULL) {
440 return CatchClauseNode::kInvalidTryIndex; 441 return CatchClauseNode::kInvalidTryIndex;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 GrowableArray<CompilerDeoptInfo*> deopt_infos_; 586 GrowableArray<CompilerDeoptInfo*> deopt_infos_;
586 GrowableArray<SlowPathCode*> slow_path_code_; 587 GrowableArray<SlowPathCode*> slow_path_code_;
587 // Stores: [code offset, function, null(code)]. 588 // Stores: [code offset, function, null(code)].
588 const GrowableObjectArray& static_calls_target_table_; 589 const GrowableObjectArray& static_calls_target_table_;
589 const bool is_optimizing_; 590 const bool is_optimizing_;
590 // Set to true if optimized code has IC calls. 591 // Set to true if optimized code has IC calls.
591 bool may_reoptimize_; 592 bool may_reoptimize_;
592 593
593 const Class& double_class_; 594 const Class& double_class_;
594 const Class& float32x4_class_; 595 const Class& float32x4_class_;
596 const Class& float64x2_class_;
595 const Class& int32x4_class_; 597 const Class& int32x4_class_;
596 const Class& list_class_; 598 const Class& list_class_;
597 599
598 ParallelMoveResolver parallel_move_resolver_; 600 ParallelMoveResolver parallel_move_resolver_;
599 601
600 // Currently instructions generate deopt stubs internally by 602 // Currently instructions generate deopt stubs internally by
601 // calling AddDeoptStub. To communicate deoptimization environment 603 // calling AddDeoptStub. To communicate deoptimization environment
602 // that should be used when deoptimizing we store it in this variable. 604 // that should be used when deoptimizing we store it in this variable.
603 // In future AddDeoptStub should be moved out of the instruction template. 605 // In future AddDeoptStub should be moved out of the instruction template.
604 Environment* pending_deoptimization_env_; 606 Environment* pending_deoptimization_env_;
605 607
606 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 608 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
607 }; 609 };
608 610
609 } // namespace dart 611 } // namespace dart
610 612
611 #endif // VM_FLOW_GRAPH_COMPILER_H_ 613 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698