| Index: src/compiler/common-operator.h
|
| diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h
|
| index 2db0bfa7d19f0d15636f40deb7d17be995ebe528..4ea7b67909da9ecb7b3c673b07f36caaa39e1bdb 100644
|
| --- a/src/compiler/common-operator.h
|
| +++ b/src/compiler/common-operator.h
|
| @@ -171,6 +171,13 @@ std::ostream& operator<<(std::ostream& os,
|
|
|
| Type* TypeGuardTypeOf(Operator const*) WARN_UNUSED_RESULT;
|
|
|
| +int OsrValueIndexOf(Operator const*);
|
| +
|
| +enum class OsrGuardType { kUninitialized, kSignedSmall, kAny };
|
| +size_t hash_value(OsrGuardType type);
|
| +std::ostream& operator<<(std::ostream&, OsrGuardType);
|
| +OsrGuardType OsrGuardTypeOf(Operator const*);
|
| +
|
| // Interface for building common operators that can be used at any level of IR,
|
| // including JavaScript, mid-level, and low-level.
|
| class CommonOperatorBuilder final : public ZoneObject {
|
| @@ -202,6 +209,7 @@ class CommonOperatorBuilder final : public ZoneObject {
|
| const Operator* OsrNormalEntry();
|
| const Operator* OsrLoopEntry();
|
| const Operator* OsrValue(int index);
|
| + const Operator* OsrGuard(OsrGuardType type);
|
|
|
| const Operator* Int32Constant(int32_t);
|
| const Operator* Int64Constant(int64_t);
|
|
|