| Index: src/type-info.h
|
| diff --git a/src/type-info.h b/src/type-info.h
|
| index b5d7c599bc230638acab9e3d8b7ca85d990007de..a457d2ba41d51b701598761a1f16d018221dca20 100644
|
| --- a/src/type-info.h
|
| +++ b/src/type-info.h
|
| @@ -45,7 +45,6 @@ class TypeFeedbackOracle: public ZoneObject {
|
| public:
|
| TypeFeedbackOracle(Handle<Code> code,
|
| Handle<Context> native_context,
|
| - Isolate* isolate,
|
| Zone* zone);
|
|
|
| bool LoadIsUninitialized(TypeFeedbackId id);
|
| @@ -95,7 +94,7 @@ class TypeFeedbackOracle: public ZoneObject {
|
| CheckType GetCallCheckType(TypeFeedbackId id);
|
| Handle<JSFunction> GetCallTarget(TypeFeedbackId id);
|
| Handle<JSFunction> GetCallNewTarget(TypeFeedbackId id);
|
| - Handle<Cell> GetCallNewAllocationInfoCell(TypeFeedbackId id);
|
| + Handle<AllocationSite> GetCallNewAllocationSite(TypeFeedbackId id);
|
|
|
| bool LoadIsBuiltin(TypeFeedbackId id, Builtins::Name builtin_id);
|
| bool LoadIsStub(TypeFeedbackId id, ICStub* stub);
|
| @@ -107,22 +106,22 @@ class TypeFeedbackOracle: public ZoneObject {
|
|
|
| // Get type information for arithmetic operations and compares.
|
| void BinaryType(TypeFeedbackId id,
|
| - Handle<Type>* left,
|
| - Handle<Type>* right,
|
| - Handle<Type>* result,
|
| + Type** left,
|
| + Type** right,
|
| + Type** result,
|
| Maybe<int>* fixed_right_arg,
|
| Handle<AllocationSite>* allocation_site,
|
| Token::Value operation);
|
|
|
| void CompareType(TypeFeedbackId id,
|
| - Handle<Type>* left,
|
| - Handle<Type>* right,
|
| - Handle<Type>* combined);
|
| + Type** left,
|
| + Type** right,
|
| + Type** combined);
|
|
|
| - Handle<Type> CountType(TypeFeedbackId id);
|
| + Type* CountType(TypeFeedbackId id);
|
|
|
| Zone* zone() const { return zone_; }
|
| - Isolate* isolate() const { return isolate_; }
|
| + Isolate* isolate() const { return zone_->isolate(); }
|
|
|
| private:
|
| void CollectReceiverTypes(TypeFeedbackId id,
|
| @@ -145,12 +144,8 @@ class TypeFeedbackOracle: public ZoneObject {
|
| // there is no information.
|
| Handle<Object> GetInfo(TypeFeedbackId id);
|
|
|
| - // Return the cell that contains type feedback.
|
| - Handle<Cell> GetInfoCell(TypeFeedbackId id);
|
| -
|
| private:
|
| Handle<Context> native_context_;
|
| - Isolate* isolate_;
|
| Zone* zone_;
|
| Handle<UnseededNumberDictionary> dictionary_;
|
|
|
|
|