diff options
Diffstat (limited to 'deps/v8/src/compiler/common-operator.h')
-rw-r--r-- | deps/v8/src/compiler/common-operator.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/common-operator.h b/deps/v8/src/compiler/common-operator.h index 9bdaedea20..609dfc8c1b 100644 --- a/deps/v8/src/compiler/common-operator.h +++ b/deps/v8/src/compiler/common-operator.h @@ -11,12 +11,16 @@ #include "src/globals.h" #include "src/machine-type.h" #include "src/reloc-info.h" +#include "src/string-constants.h" #include "src/vector-slot-pair.h" #include "src/zone/zone-containers.h" #include "src/zone/zone-handle-set.h" namespace v8 { namespace internal { + +class StringConstantBase; + namespace compiler { // Forward declarations. @@ -255,7 +259,7 @@ class SparseInputMask final { // An iterator over a node's sparse inputs. class InputIterator final { public: - InputIterator() {} + InputIterator() = default; InputIterator(BitMaskType bit_mask, Node* parent); Node* parent() const { return parent_; } @@ -433,6 +437,9 @@ const FrameStateInfo& FrameStateInfoOf(const Operator* op) Handle<HeapObject> HeapConstantOf(const Operator* op) V8_WARN_UNUSED_RESULT; +const StringConstantBase* StringConstantBaseOf(const Operator* op) + V8_WARN_UNUSED_RESULT; + // Interface for building common operators that can be used at any level of IR, // including JavaScript, mid-level, and low-level. class V8_EXPORT_PRIVATE CommonOperatorBuilder final @@ -535,6 +542,8 @@ class V8_EXPORT_PRIVATE CommonOperatorBuilder final const Operator* MarkAsSafetyCheck(const Operator* op, IsSafetyCheck safety_check); + const Operator* DelayedStringConstant(const StringConstantBase* str); + private: Zone* zone() const { return zone_; } |