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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1723 | 1723 |
1724 HInstruction* BuildGetNativeContext(); | 1724 HInstruction* BuildGetNativeContext(); |
1725 HInstruction* BuildGetArrayFunction(); | 1725 HInstruction* BuildGetArrayFunction(); |
1726 | 1726 |
1727 protected: | 1727 protected: |
1728 void SetSourcePosition(int position) { | 1728 void SetSourcePosition(int position) { |
1729 ASSERT(position != RelocInfo::kNoPosition); | 1729 ASSERT(position != RelocInfo::kNoPosition); |
1730 position_ = position; | 1730 position_ = position; |
1731 } | 1731 } |
1732 | 1732 |
| 1733 template <typename ViewClass> |
| 1734 void BuildArrayBufferViewInitialization(HValue* obj, |
| 1735 HValue* buffer, |
| 1736 HValue* byte_offset, |
| 1737 HValue* byte_length); |
| 1738 |
1733 private: | 1739 private: |
1734 HGraphBuilder(); | 1740 HGraphBuilder(); |
1735 | 1741 |
1736 HValue* BuildUncheckedDictionaryElementLoadHelper( | 1742 HValue* BuildUncheckedDictionaryElementLoadHelper( |
1737 HValue* elements, | 1743 HValue* elements, |
1738 HValue* key, | 1744 HValue* key, |
1739 HValue* hash, | 1745 HValue* hash, |
1740 HValue* mask, | 1746 HValue* mask, |
1741 int current_probe); | 1747 int current_probe); |
1742 | 1748 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2145 BailoutId ast_id); | 2151 BailoutId ast_id); |
2146 | 2152 |
2147 void HandlePropertyAssignment(Assignment* expr); | 2153 void HandlePropertyAssignment(Assignment* expr); |
2148 void HandleCompoundAssignment(Assignment* expr); | 2154 void HandleCompoundAssignment(Assignment* expr); |
2149 void HandlePolymorphicLoadNamedField(BailoutId ast_id, | 2155 void HandlePolymorphicLoadNamedField(BailoutId ast_id, |
2150 BailoutId return_id, | 2156 BailoutId return_id, |
2151 HValue* object, | 2157 HValue* object, |
2152 SmallMapList* types, | 2158 SmallMapList* types, |
2153 Handle<String> name); | 2159 Handle<String> name); |
2154 | 2160 |
| 2161 void VisitTypedArrayInitialize(CallRuntime* expr); |
| 2162 |
2155 bool IsCallNewArrayInlineable(CallNew* expr); | 2163 bool IsCallNewArrayInlineable(CallNew* expr); |
2156 void BuildInlinedCallNewArray(CallNew* expr); | 2164 void BuildInlinedCallNewArray(CallNew* expr); |
2157 | 2165 |
2158 void VisitDataViewInitialize(CallRuntime* expr); | 2166 void VisitDataViewInitialize(CallRuntime* expr); |
2159 | 2167 |
2160 class PropertyAccessInfo { | 2168 class PropertyAccessInfo { |
2161 public: | 2169 public: |
2162 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name) | 2170 PropertyAccessInfo(Isolate* isolate, Handle<Map> map, Handle<String> name) |
2163 : lookup_(isolate), | 2171 : lookup_(isolate), |
2164 map_(map), | 2172 map_(map), |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2578 } | 2586 } |
2579 | 2587 |
2580 private: | 2588 private: |
2581 HGraphBuilder* builder_; | 2589 HGraphBuilder* builder_; |
2582 }; | 2590 }; |
2583 | 2591 |
2584 | 2592 |
2585 } } // namespace v8::internal | 2593 } } // namespace v8::internal |
2586 | 2594 |
2587 #endif // V8_HYDROGEN_H_ | 2595 #endif // V8_HYDROGEN_H_ |
OLD | NEW |