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