summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/graph-reducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/graph-reducer.h')
-rw-r--r--deps/v8/src/compiler/graph-reducer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/compiler/graph-reducer.h b/deps/v8/src/compiler/graph-reducer.h
index 273b5dd0cf..683c345c14 100644
--- a/deps/v8/src/compiler/graph-reducer.h
+++ b/deps/v8/src/compiler/graph-reducer.h
@@ -73,7 +73,8 @@ class AdvancedReducer : public Reducer {
// Revisit the {node} again later.
virtual void Revisit(Node* node) = 0;
// Replace value uses of {node} with {value} and effect uses of {node} with
- // {effect}. If {effect == NULL}, then use the effect input to {node}. All
+ // {effect}. If {effect == nullptr}, then use the effect input to {node}.
+ // All
// control uses will be relaxed assuming {node} cannot throw.
virtual void ReplaceWithValue(Node* node, Node* value, Node* effect,
Node* control) = 0;
@@ -149,7 +150,7 @@ class GraphReducer : public AdvancedReducer::Editor {
void Replace(Node* node, Node* replacement) final;
// Replace value uses of {node} with {value} and effect uses of {node} with
- // {effect}. If {effect == NULL}, then use the effect input to {node}. All
+ // {effect}. If {effect == nullptr}, then use the effect input to {node}. All
// control uses will be relaxed assuming {node} cannot throw.
void ReplaceWithValue(Node* node, Node* value, Node* effect,
Node* control) final;