Index: src/compiler/representation-change.h |
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h |
index 98bcbbfb9211bb69b4c81d5730234bf6106018b1..3c6dcbac888ddf17336ef451da1675d5b5a88ad0 100644 |
--- a/src/compiler/representation-change.h |
+++ b/src/compiler/representation-change.h |
@@ -21,10 +21,9 @@ namespace compiler { |
class RepresentationChanger { |
public: |
RepresentationChanger(JSGraph* jsgraph, SimplifiedOperatorBuilder* simplified, |
- MachineOperatorBuilder* machine, Isolate* isolate) |
+ Isolate* isolate) |
: jsgraph_(jsgraph), |
simplified_(simplified), |
- machine_(machine), |
isolate_(isolate), |
testing_type_errors_(false), |
type_error_(false) {} |
@@ -309,7 +308,6 @@ class RepresentationChanger { |
private: |
JSGraph* jsgraph_; |
SimplifiedOperatorBuilder* simplified_; |
- MachineOperatorBuilder* machine_; |
Isolate* isolate_; |
friend class RepresentationChangerTester; // accesses the below fields. |
@@ -339,7 +337,7 @@ class RepresentationChanger { |
JSGraph* jsgraph() { return jsgraph_; } |
Isolate* isolate() { return isolate_; } |
SimplifiedOperatorBuilder* simplified() { return simplified_; } |
- MachineOperatorBuilder* machine() { return machine_; } |
+ MachineOperatorBuilder* machine() { return jsgraph()->machine(); } |
}; |
} |
} |