diff options
Diffstat (limited to 'deps/v8/src/type-info.h')
-rw-r--r-- | deps/v8/src/type-info.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/deps/v8/src/type-info.h b/deps/v8/src/type-info.h index 4e8dc54d02..06a0c9ebd0 100644 --- a/deps/v8/src/type-info.h +++ b/deps/v8/src/type-info.h @@ -6,11 +6,11 @@ #define V8_TYPE_INFO_H_ #include "src/allocation.h" +#include "src/ast/ast-types.h" #include "src/contexts.h" #include "src/globals.h" #include "src/parsing/token.h" -#include "src/types.h" -#include "src/zone.h" +#include "src/zone/zone.h" namespace v8 { namespace internal { @@ -77,20 +77,16 @@ class TypeFeedbackOracle: public ZoneObject { uint16_t ToBooleanTypes(TypeFeedbackId id); // Get type information for arithmetic operations and compares. - void BinaryType(TypeFeedbackId id, - Type** left, - Type** right, - Type** result, + void BinaryType(TypeFeedbackId id, FeedbackVectorSlot slot, AstType** left, + AstType** right, AstType** result, Maybe<int>* fixed_right_arg, Handle<AllocationSite>* allocation_site, Token::Value operation); - void CompareType(TypeFeedbackId id, - Type** left, - Type** right, - Type** combined); + void CompareType(TypeFeedbackId id, FeedbackVectorSlot slot, AstType** left, + AstType** right, AstType** combined); - Type* CountType(TypeFeedbackId id); + AstType* CountType(TypeFeedbackId id, FeedbackVectorSlot slot); Zone* zone() const { return zone_; } Isolate* isolate() const { return isolate_; } |