| Index: src/compiler/instruction-selector.h
|
| diff --git a/src/compiler/instruction-selector.h b/src/compiler/instruction-selector.h
|
| index a86e1560c6994c201094ecae149cd4ec1fca5c08..491b8272313b4ed4665903a0a8c5e994ccf67ed0 100644
|
| --- a/src/compiler/instruction-selector.h
|
| +++ b/src/compiler/instruction-selector.h
|
| @@ -84,6 +84,14 @@ class InstructionSelector FINAL {
|
| return Features(CpuFeatures::SupportedFeatures());
|
| }
|
|
|
| + // Checks if {node} was already defined, and therefore code was already
|
| + // generated for it.
|
| + bool IsDefined(Node* node) const;
|
| +
|
| + // Checks if {node} has any uses, and therefore code has to be generated for
|
| + // it.
|
| + bool IsUsed(Node* node) const;
|
| +
|
| private:
|
| friend class OperandGenerator;
|
|
|
| @@ -101,17 +109,9 @@ class InstructionSelector FINAL {
|
| // edge and the two are in the same basic block.
|
| bool CanCover(Node* user, Node* node) const;
|
|
|
| - // Checks if {node} was already defined, and therefore code was already
|
| - // generated for it.
|
| - bool IsDefined(Node* node) const;
|
| -
|
| // Inform the instruction selection that {node} was just defined.
|
| void MarkAsDefined(Node* node);
|
|
|
| - // Checks if {node} has any uses, and therefore code has to be generated for
|
| - // it.
|
| - bool IsUsed(Node* node) const;
|
| -
|
| // Inform the instruction selection that {node} has at least one use and we
|
| // will need to generate code for it.
|
| void MarkAsUsed(Node* node);
|
|
|