Index: test/cctest/compiler/simplified-graph-builder.h |
diff --git a/test/cctest/compiler/simplified-graph-builder.h b/test/cctest/compiler/simplified-graph-builder.h |
index 26a265b18ea7226e6284522e434720432b271863..fa9161e17138a51c6f0981e2a4e3f57ceb874d01 100644 |
--- a/test/cctest/compiler/simplified-graph-builder.h |
+++ b/test/cctest/compiler/simplified-graph-builder.h |
@@ -49,7 +49,8 @@ class SimplifiedGraphBuilder |
MachineOperatorBuilder* machine() const { return machine_; } |
SimplifiedOperatorBuilder* simplified() const { return simplified_; } |
Environment* environment() { |
- return reinterpret_cast<Environment*>(environment_internal()); |
+ return reinterpret_cast<Environment*>( |
+ StructuredGraphBuilder::environment()); |
} |
// Initialize graph and builder. |