Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index cb3e75d8abe7271fa546d6f03f26171ef9abf962..a6701e62b0c2261d7f71ba416fd5daa88d261fe2 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -236,7 +236,7 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
RESULT |
}; |
- explicit TypeFeedbackOracle(Handle<Code> code); |
+ TypeFeedbackOracle(Handle<Code> code, Handle<Context> global_context); |
bool LoadIsMonomorphic(Property* expr); |
bool StoreIsMonomorphic(Assignment* expr); |
@@ -244,12 +244,14 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
Handle<Map> LoadMonomorphicReceiverType(Property* expr); |
Handle<Map> StoreMonomorphicReceiverType(Assignment* expr); |
- Handle<Map> CallMonomorphicReceiverType(Call* expr); |
ZoneMapList* LoadReceiverTypes(Property* expr, Handle<String> name); |
ZoneMapList* StoreReceiverTypes(Assignment* expr, Handle<String> name); |
ZoneMapList* CallReceiverTypes(Call* expr, Handle<String> name); |
+ CheckType GetCallCheckType(Call* expr); |
+ Handle<JSObject> GetPrototypeForPrimitiveCheck(CheckType check); |
+ |
bool LoadIsBuiltin(Property* expr, Builtins::Name id); |
// Get type information for arithmetic operations and compares. |
@@ -272,6 +274,7 @@ class TypeFeedbackOracle BASE_EMBEDDED { |
List<int>* code_positions, |
List<int>* source_positions); |
+ Handle<Context> global_context_; |
Handle<JSObject> map_; |
DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); |