| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 } | 1272 } |
| 1273 | 1273 |
| 1274 DECLARE_NODE_TYPE(Call) | 1274 DECLARE_NODE_TYPE(Call) |
| 1275 | 1275 |
| 1276 virtual bool IsInlineable() const; | 1276 virtual bool IsInlineable() const; |
| 1277 | 1277 |
| 1278 Expression* expression() const { return expression_; } | 1278 Expression* expression() const { return expression_; } |
| 1279 ZoneList<Expression*>* arguments() const { return arguments_; } | 1279 ZoneList<Expression*>* arguments() const { return arguments_; } |
| 1280 virtual int position() const { return pos_; } | 1280 virtual int position() const { return pos_; } |
| 1281 | 1281 |
| 1282 void RecordTypeFeedback(TypeFeedbackOracle* oracle); | 1282 void RecordTypeFeedback(TypeFeedbackOracle* oracle, |
| 1283 CallKind call_kind); |
| 1283 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } | 1284 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } |
| 1284 virtual bool IsMonomorphic() { return is_monomorphic_; } | 1285 virtual bool IsMonomorphic() { return is_monomorphic_; } |
| 1285 CheckType check_type() const { return check_type_; } | 1286 CheckType check_type() const { return check_type_; } |
| 1286 Handle<JSFunction> target() { return target_; } | 1287 Handle<JSFunction> target() { return target_; } |
| 1287 Handle<JSObject> holder() { return holder_; } | 1288 Handle<JSObject> holder() { return holder_; } |
| 1288 Handle<JSGlobalPropertyCell> cell() { return cell_; } | 1289 Handle<JSGlobalPropertyCell> cell() { return cell_; } |
| 1289 | 1290 |
| 1290 bool ComputeTarget(Handle<Map> type, Handle<String> name); | 1291 bool ComputeTarget(Handle<Map> type, Handle<String> name); |
| 1291 bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult* lookup); | 1292 bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult* lookup); |
| 1292 | 1293 |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2178 | 2179 |
| 2179 private: | 2180 private: |
| 2180 Isolate* isolate_; | 2181 Isolate* isolate_; |
| 2181 bool stack_overflow_; | 2182 bool stack_overflow_; |
| 2182 }; | 2183 }; |
| 2183 | 2184 |
| 2184 | 2185 |
| 2185 } } // namespace v8::internal | 2186 } } // namespace v8::internal |
| 2186 | 2187 |
| 2187 #endif // V8_AST_H_ | 2188 #endif // V8_AST_H_ |
| OLD | NEW |