diff options
Diffstat (limited to 'deps/v8/src/torque/type-oracle.h')
-rw-r--r-- | deps/v8/src/torque/type-oracle.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/src/torque/type-oracle.h b/deps/v8/src/torque/type-oracle.h index 114bf043b5b..c6939efa538 100644 --- a/deps/v8/src/torque/type-oracle.h +++ b/deps/v8/src/torque/type-oracle.h @@ -182,6 +182,10 @@ class TypeOracle : public ContextualClass<TypeOracle> { return Get().GetBuiltinType(RAWPTR_TYPE_STRING); } + static const Type* GetExternalPointerType() { + return Get().GetBuiltinType(EXTERNALPTR_TYPE_STRING); + } + static const Type* GetMapType() { return Get().GetBuiltinType(MAP_TYPE_STRING); } @@ -300,6 +304,10 @@ class TypeOracle : public ContextualClass<TypeOracle> { return Get().GetBuiltinType(CONTEXT_TYPE_STRING); } + static const Type* GetNoContextType() { + return Get().GetBuiltinType(NO_CONTEXT_TYPE_STRING); + } + static const Type* GetNativeContextType() { return Get().GetBuiltinType(NATIVE_CONTEXT_TYPE_STRING); } |