Index: test/cctest/compiler/graph-builder-tester.h |
diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h |
index 88bc966c704e6aa0b902e376ae3bbe79244ddd52..747e99acb2be33a6fdb839fb980ac922fdbd72f9 100644 |
--- a/test/cctest/compiler/graph-builder-tester.h |
+++ b/test/cctest/compiler/graph-builder-tester.h |
@@ -41,6 +41,8 @@ class MachineCallHelper : public CallHelper { |
Node* Parameter(int offset); |
+ void GenerateCode() { Generate(); } |
+ |
protected: |
virtual byte* Generate(); |
virtual void VerifyParameters(int parameter_count, |
@@ -71,7 +73,7 @@ class GraphAndBuilders { |
protected: |
// Prefixed with main_ to avoid naiming conflicts. |
- Graph* const main_graph_; |
+ Graph* main_graph_; |
CommonOperatorBuilder main_common_; |
MachineOperatorBuilder main_machine_; |
SimplifiedOperatorBuilder main_simplified_; |