OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1300 | 1300 |
1301 void RecordTypeFeedback(TypeFeedbackOracle* oracle); | 1301 void RecordTypeFeedback(TypeFeedbackOracle* oracle); |
1302 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } | 1302 virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } |
1303 virtual bool IsMonomorphic() { return is_monomorphic_; } | 1303 virtual bool IsMonomorphic() { return is_monomorphic_; } |
1304 CheckType check_type() const { return check_type_; } | 1304 CheckType check_type() const { return check_type_; } |
1305 Handle<JSFunction> target() { return target_; } | 1305 Handle<JSFunction> target() { return target_; } |
1306 Handle<JSObject> holder() { return holder_; } | 1306 Handle<JSObject> holder() { return holder_; } |
1307 Handle<JSGlobalPropertyCell> cell() { return cell_; } | 1307 Handle<JSGlobalPropertyCell> cell() { return cell_; } |
1308 | 1308 |
1309 bool ComputeTarget(Handle<Map> type, Handle<String> name); | 1309 bool ComputeTarget(Handle<Map> type, Handle<String> name); |
1310 bool ComputeGlobalTarget(Handle<GlobalObject> global, Handle<String> name); | 1310 bool ComputeGlobalTarget(Handle<GlobalObject> global, LookupResult& lookup); |
1311 | 1311 |
1312 // Bailout support. | 1312 // Bailout support. |
1313 int ReturnId() const { return return_id_; } | 1313 int ReturnId() const { return return_id_; } |
1314 | 1314 |
1315 static Call* sentinel() { return &sentinel_; } | 1315 static Call* sentinel() { return &sentinel_; } |
1316 | 1316 |
1317 #ifdef DEBUG | 1317 #ifdef DEBUG |
1318 // Used to assert that the FullCodeGenerator records the return site. | 1318 // Used to assert that the FullCodeGenerator records the return site. |
1319 bool return_is_recorded_; | 1319 bool return_is_recorded_; |
1320 #endif | 1320 #endif |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2185 AST_NODE_LIST(DEF_VISIT) | 2185 AST_NODE_LIST(DEF_VISIT) |
2186 #undef DEF_VISIT | 2186 #undef DEF_VISIT |
2187 | 2187 |
2188 private: | 2188 private: |
2189 bool stack_overflow_; | 2189 bool stack_overflow_; |
2190 }; | 2190 }; |
2191 | 2191 |
2192 } } // namespace v8::internal | 2192 } } // namespace v8::internal |
2193 | 2193 |
2194 #endif // V8_AST_H_ | 2194 #endif // V8_AST_H_ |
OLD | NEW |