OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 2044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2055 BailoutId ast_id); | 2055 BailoutId ast_id); |
2056 | 2056 |
2057 void HandlePropertyAssignment(Assignment* expr); | 2057 void HandlePropertyAssignment(Assignment* expr); |
2058 void HandleCompoundAssignment(Assignment* expr); | 2058 void HandleCompoundAssignment(Assignment* expr); |
2059 void HandlePolymorphicLoadNamedField(BailoutId ast_id, | 2059 void HandlePolymorphicLoadNamedField(BailoutId ast_id, |
2060 BailoutId return_id, | 2060 BailoutId return_id, |
2061 HValue* object, | 2061 HValue* object, |
2062 SmallMapList* types, | 2062 SmallMapList* types, |
2063 Handle<String> name); | 2063 Handle<String> name); |
2064 | 2064 |
| 2065 bool IsCallNewArrayInlineable(CallNew* expr); |
| 2066 void BuildInlinedCallNewArray(CallNew* expr); |
| 2067 HValue* BuildInlinedCallNewArray_OneArg(CallNew* expr, |
| 2068 HValue* constructor, |
| 2069 HInstruction* cell_instruction); |
| 2070 |
2065 class PropertyAccessInfo { | 2071 class PropertyAccessInfo { |
2066 public: | 2072 public: |
2067 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name) | 2073 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name) |
2068 : lookup_(isolate), | 2074 : lookup_(isolate), |
2069 map_(map), | 2075 map_(map), |
2070 name_(name), | 2076 name_(name), |
2071 access_(HObjectAccess::ForMap()) { } | 2077 access_(HObjectAccess::ForMap()) { } |
2072 | 2078 |
2073 // Checkes whether this PropertyAccessInfo can be handled as a monomorphic | 2079 // Checkes whether this PropertyAccessInfo can be handled as a monomorphic |
2074 // load named. It additionally fills in the fields necessary to generate the | 2080 // load named. It additionally fills in the fields necessary to generate the |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2483 } | 2489 } |
2484 | 2490 |
2485 private: | 2491 private: |
2486 HGraphBuilder* builder_; | 2492 HGraphBuilder* builder_; |
2487 }; | 2493 }; |
2488 | 2494 |
2489 | 2495 |
2490 } } // namespace v8::internal | 2496 } } // namespace v8::internal |
2491 | 2497 |
2492 #endif // V8_HYDROGEN_H_ | 2498 #endif // V8_HYDROGEN_H_ |
OLD | NEW |