| Index: src/compiler/operator.h
|
| diff --git a/src/compiler/operator.h b/src/compiler/operator.h
|
| index d8f19bfdeb8fef10bc57fddadb4ee3c0358870a7..b6ec2c618ca582d6dc0465888a89ebe71ee896b3 100644
|
| --- a/src/compiler/operator.h
|
| +++ b/src/compiler/operator.h
|
| @@ -49,6 +49,12 @@ class Operator : public ZoneObject {
|
| kEliminatable = kNoDeopt | kNoWrite | kNoThrow,
|
| kPure = kNoDeopt | kNoRead | kNoWrite | kNoThrow | kIdempotent
|
| };
|
| +
|
| +// List of all bits, for the visualizer.
|
| +#define OPERATOR_PROPERTY_LIST(V) \
|
| + V(Commutative) \
|
| + V(Associative) V(Idempotent) V(NoRead) V(NoWrite) V(NoThrow) V(NoDeopt)
|
| +
|
| typedef base::Flags<Property, uint8_t> Properties;
|
| enum class PrintVerbosity { kVerbose, kSilent };
|
|
|
| @@ -122,6 +128,8 @@ class Operator : public ZoneObject {
|
| return PrintToImpl(os, verbose);
|
| }
|
|
|
| + void PrintPropsTo(std::ostream& os) const;
|
| +
|
| protected:
|
| virtual void PrintToImpl(std::ostream& os, PrintVerbosity verbose) const;
|
|
|
|
|