| Index: src/compiler/simplified-operator.h
|
| diff --git a/src/compiler/simplified-operator.h b/src/compiler/simplified-operator.h
|
| index a90439131011406432e261fe4ad10779483bfac9..901addcb0255f0d7f5834c8c0c9ac271bb6c6826 100644
|
| --- a/src/compiler/simplified-operator.h
|
| +++ b/src/compiler/simplified-operator.h
|
| @@ -7,8 +7,10 @@
|
|
|
| #include <iosfwd>
|
|
|
| +#include "src/base/compiler-specific.h"
|
| #include "src/compiler/operator.h"
|
| #include "src/compiler/types.h"
|
| +#include "src/globals.h"
|
| #include "src/handles.h"
|
| #include "src/machine-type.h"
|
| #include "src/objects.h"
|
| @@ -45,15 +47,15 @@ class BufferAccess final {
|
| ExternalArrayType const external_array_type_;
|
| };
|
|
|
| -bool operator==(BufferAccess, BufferAccess);
|
| +V8_EXPORT_PRIVATE bool operator==(BufferAccess, BufferAccess);
|
| bool operator!=(BufferAccess, BufferAccess);
|
|
|
| size_t hash_value(BufferAccess);
|
|
|
| -std::ostream& operator<<(std::ostream&, BufferAccess);
|
| -
|
| -BufferAccess const BufferAccessOf(const Operator* op) WARN_UNUSED_RESULT;
|
| +V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, BufferAccess);
|
|
|
| +V8_EXPORT_PRIVATE BufferAccess const BufferAccessOf(const Operator* op)
|
| + WARN_UNUSED_RESULT;
|
|
|
| // An access descriptor for loads/stores of fixed structures like field
|
| // accesses of heap objects. Accesses from either tagged or untagged base
|
| @@ -69,12 +71,12 @@ struct FieldAccess {
|
| int tag() const { return base_is_tagged == kTaggedBase ? kHeapObjectTag : 0; }
|
| };
|
|
|
| -bool operator==(FieldAccess const&, FieldAccess const&);
|
| +V8_EXPORT_PRIVATE bool operator==(FieldAccess const&, FieldAccess const&);
|
| bool operator!=(FieldAccess const&, FieldAccess const&);
|
|
|
| size_t hash_value(FieldAccess const&);
|
|
|
| -std::ostream& operator<<(std::ostream&, FieldAccess const&);
|
| +V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, FieldAccess const&);
|
|
|
| FieldAccess const& FieldAccessOf(const Operator* op) WARN_UNUSED_RESULT;
|
|
|
| @@ -96,14 +98,15 @@ struct ElementAccess {
|
| int tag() const { return base_is_tagged == kTaggedBase ? kHeapObjectTag : 0; }
|
| };
|
|
|
| -bool operator==(ElementAccess const&, ElementAccess const&);
|
| +V8_EXPORT_PRIVATE bool operator==(ElementAccess const&, ElementAccess const&);
|
| bool operator!=(ElementAccess const&, ElementAccess const&);
|
|
|
| size_t hash_value(ElementAccess const&);
|
|
|
| -std::ostream& operator<<(std::ostream&, ElementAccess const&);
|
| +V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, ElementAccess const&);
|
|
|
| -ElementAccess const& ElementAccessOf(const Operator* op) WARN_UNUSED_RESULT;
|
| +V8_EXPORT_PRIVATE ElementAccess const& ElementAccessOf(const Operator* op)
|
| + WARN_UNUSED_RESULT;
|
|
|
| ExternalArrayType ExternalArrayTypeOf(const Operator* op) WARN_UNUSED_RESULT;
|
|
|
| @@ -178,7 +181,7 @@ enum class NumberOperationHint : uint8_t {
|
|
|
| size_t hash_value(NumberOperationHint);
|
|
|
| -std::ostream& operator<<(std::ostream&, NumberOperationHint);
|
| +V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, NumberOperationHint);
|
|
|
| NumberOperationHint NumberOperationHintOf(const Operator* op)
|
| WARN_UNUSED_RESULT;
|
| @@ -209,7 +212,8 @@ UnicodeEncoding UnicodeEncodingOf(const Operator*) WARN_UNUSED_RESULT;
|
| // - Bool: a tagged pointer to either the canonical JS #false or
|
| // the canonical JS #true object
|
| // - Bit: an untagged integer 0 or 1, but word-sized
|
| -class SimplifiedOperatorBuilder final : public ZoneObject {
|
| +class V8_EXPORT_PRIVATE SimplifiedOperatorBuilder final
|
| + : public NON_EXPORTED_BASE(ZoneObject) {
|
| public:
|
| explicit SimplifiedOperatorBuilder(Zone* zone);
|
|
|
|
|