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

Unified Diff: src/compiler/raw-machine-assembler.h

Issue 456333002: Move MachineRepresentation to machine-type.h and rename to MachineType in preparation for merging i… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/machine-type.h ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index 3a34b2be6e488225a82dbb2d137b71b70e64f8fe..6839ade4fe9de07708a92d38d019943589a2ebe7 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -45,9 +45,9 @@ class RawMachineAssembler : public GraphBuilder,
DISALLOW_COPY_AND_ASSIGN(Label);
};
- RawMachineAssembler(
- Graph* graph, MachineCallDescriptorBuilder* call_descriptor_builder,
- MachineRepresentation word = MachineOperatorBuilder::pointer_rep());
+ RawMachineAssembler(Graph* graph,
+ MachineCallDescriptorBuilder* call_descriptor_builder,
+ MachineType word = MachineOperatorBuilder::pointer_rep());
virtual ~RawMachineAssembler() {}
Isolate* isolate() const { return zone()->isolate(); }
@@ -60,7 +60,7 @@ class RawMachineAssembler : public GraphBuilder,
int parameter_count() const {
return call_descriptor_builder_->parameter_count();
}
- const MachineRepresentation* parameter_types() const {
+ const MachineType* parameter_types() const {
return call_descriptor_builder_->parameter_types();
}
@@ -108,8 +108,7 @@ class RawMachineAssembler : public GraphBuilder,
BasicBlock* EnsureBlock(Label* label);
BasicBlock* CurrentBlock();
- typedef std::vector<MachineRepresentation,
- zone_allocator<MachineRepresentation> >
+ typedef std::vector<MachineType, zone_allocator<MachineType> >
RepresentationVector;
Schedule* schedule_;
« no previous file with comments | « src/compiler/machine-type.h ('k') | src/compiler/raw-machine-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698