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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 505133003: Introduce subclass wrappers for STL containers that make them a lot easier (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | « src/compiler/node-aux-data-inl.h ('k') | src/compiler/schedule.h » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 return schedule_; 101 return schedule_;
102 } 102 }
103 103
104 private: 104 private:
105 bool ScheduleValid() { return schedule_ != NULL; } 105 bool ScheduleValid() { return schedule_ != NULL; }
106 106
107 BasicBlock* Use(Label* label); 107 BasicBlock* Use(Label* label);
108 BasicBlock* EnsureBlock(Label* label); 108 BasicBlock* EnsureBlock(Label* label);
109 BasicBlock* CurrentBlock(); 109 BasicBlock* CurrentBlock();
110 110
111 typedef std::vector<MachineType, zone_allocator<MachineType> >
112 RepresentationVector;
113
114 Schedule* schedule_; 111 Schedule* schedule_;
115 MachineOperatorBuilder machine_; 112 MachineOperatorBuilder machine_;
116 CommonOperatorBuilder common_; 113 CommonOperatorBuilder common_;
117 MachineCallDescriptorBuilder* call_descriptor_builder_; 114 MachineCallDescriptorBuilder* call_descriptor_builder_;
118 Node** parameters_; 115 Node** parameters_;
119 Label exit_label_; 116 Label exit_label_;
120 BasicBlock* current_block_; 117 BasicBlock* current_block_;
121 118
122 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); 119 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler);
123 }; 120 };
124 121
125 } // namespace compiler 122 } // namespace compiler
126 } // namespace internal 123 } // namespace internal
127 } // namespace v8 124 } // namespace v8
128 125
129 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 126 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/node-aux-data-inl.h ('k') | src/compiler/schedule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698