| Index: src/type-info.h
|
| diff --git a/src/type-info.h b/src/type-info.h
|
| index 1ad3233390e3b71a265bbffde501ccc519894131..61fc274f2d37f43a7c950fd0018c57f92bfdc24b 100644
|
| --- a/src/type-info.h
|
| +++ b/src/type-info.h
|
| @@ -277,6 +277,7 @@ class TypeFeedbackOracle: public ZoneObject {
|
|
|
| Handle<JSFunction> GetCallTarget(Call* expr);
|
| Handle<JSFunction> GetCallNewTarget(CallNew* expr);
|
| + ElementsKind GetCallNewElementsKind(CallNew* expr);
|
|
|
| Handle<Map> GetObjectLiteralStoreMap(ObjectLiteral::Property* prop);
|
|
|
| @@ -323,8 +324,12 @@ class TypeFeedbackOracle: public ZoneObject {
|
|
|
| // Returns an element from the backing store. Returns undefined if
|
| // there is no information.
|
| + public:
|
| + // TODO(mvstanton): how to get this information without making the method
|
| + // public?
|
| Handle<Object> GetInfo(TypeFeedbackId ast_id);
|
|
|
| + private:
|
| Handle<Context> native_context_;
|
| Isolate* isolate_;
|
| Handle<UnseededNumberDictionary> dictionary_;
|
|
|