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

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

Issue 12340050: Add DISALLOW_COPY_AND_ASSIGN to subclasses of ValueObject and make ValueObject copyable. Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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.h ('k') | runtime/vm/flow_graph_inliner.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/assembler_macros.h" 10 #include "vm/assembler_macros.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // be handled by a single instruction. 53 // be handled by a single instruction.
54 void MoveMemoryToMemory(const Address& dst, const Address& src); 54 void MoveMemoryToMemory(const Address& dst, const Address& src);
55 void StoreObject(const Address& dst, const Object& obj); 55 void StoreObject(const Address& dst, const Object& obj);
56 void Exchange(Register reg, const Address& mem); 56 void Exchange(Register reg, const Address& mem);
57 void Exchange(const Address& mem1, const Address& mem2); 57 void Exchange(const Address& mem1, const Address& mem2);
58 58
59 FlowGraphCompiler* compiler_; 59 FlowGraphCompiler* compiler_;
60 60
61 // List of moves not yet resolved. 61 // List of moves not yet resolved.
62 GrowableArray<MoveOperands*> moves_; 62 GrowableArray<MoveOperands*> moves_;
63
64 DISALLOW_COPY_AND_ASSIGN(ParallelMoveResolver);
63 }; 65 };
64 66
65 67
66 // Used for describing a deoptimization point after call (lazy deoptimization). 68 // Used for describing a deoptimization point after call (lazy deoptimization).
67 // For deoptimization before instruction use class CompilerDeoptInfoWithStub. 69 // For deoptimization before instruction use class CompilerDeoptInfoWithStub.
68 class CompilerDeoptInfo : public ZoneAllocated { 70 class CompilerDeoptInfo : public ZoneAllocated {
69 public: 71 public:
70 CompilerDeoptInfo(intptr_t deopt_id, DeoptReasonId reason) 72 CompilerDeoptInfo(intptr_t deopt_id, DeoptReasonId reason)
71 : pc_offset_(-1), 73 : pc_offset_(-1),
72 deopt_id_(deopt_id), 74 deopt_id_(deopt_id),
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 // that should be used when deoptimizing we store it in this variable. 520 // that should be used when deoptimizing we store it in this variable.
519 // In future AddDeoptStub should be moved out of the instruction template. 521 // In future AddDeoptStub should be moved out of the instruction template.
520 Environment* pending_deoptimization_env_; 522 Environment* pending_deoptimization_env_;
521 523
522 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 524 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
523 }; 525 };
524 526
525 } // namespace dart 527 } // namespace dart
526 528
527 #endif // VM_FLOW_GRAPH_COMPILER_H_ 529 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_allocator.h ('k') | runtime/vm/flow_graph_inliner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698