| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_HYDROGEN_H_ | 5 #ifndef V8_HYDROGEN_H_ |
| 6 #define V8_HYDROGEN_H_ | 6 #define V8_HYDROGEN_H_ |
| 7 | 7 |
| 8 #include "src/v8.h" | 8 #include "src/v8.h" |
| 9 | 9 |
| 10 #include "src/accessors.h" | 10 #include "src/accessors.h" |
| (...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2666 PropertyAccessType access_type, | 2666 PropertyAccessType access_type, |
| 2667 KeyedAccessStoreMode store_mode, | 2667 KeyedAccessStoreMode store_mode, |
| 2668 bool* has_side_effects); | 2668 bool* has_side_effects); |
| 2669 | 2669 |
| 2670 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, | 2670 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, |
| 2671 Expression* expr, BailoutId ast_id, | 2671 Expression* expr, BailoutId ast_id, |
| 2672 BailoutId return_id, | 2672 BailoutId return_id, |
| 2673 PropertyAccessType access_type, | 2673 PropertyAccessType access_type, |
| 2674 bool* has_side_effects); | 2674 bool* has_side_effects); |
| 2675 | 2675 |
| 2676 HInstruction* BuildNamedGeneric(PropertyAccessType access, | 2676 HInstruction* BuildNamedGeneric(PropertyAccessType access, Expression* expr, |
| 2677 Expression* expr, | 2677 HValue* object, Handle<String> name, |
| 2678 HValue* object, | 2678 HValue* value, bool is_uninitialized = false); |
| 2679 Handle<String> name, | |
| 2680 HValue* value, | |
| 2681 bool is_uninitialized = false); | |
| 2682 | 2679 |
| 2683 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); | 2680 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); |
| 2684 | 2681 |
| 2685 void BuildLoad(Property* property, | 2682 void BuildLoad(Property* property, |
| 2686 BailoutId ast_id); | 2683 BailoutId ast_id); |
| 2687 void PushLoad(Property* property, | 2684 void PushLoad(Property* property, |
| 2688 HValue* object, | 2685 HValue* object, |
| 2689 HValue* key); | 2686 HValue* key); |
| 2690 | 2687 |
| 2691 void BuildStoreForEffect(Expression* expression, | 2688 void BuildStoreForEffect(Expression* expression, |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2949 } | 2946 } |
| 2950 | 2947 |
| 2951 private: | 2948 private: |
| 2952 HGraphBuilder* builder_; | 2949 HGraphBuilder* builder_; |
| 2953 }; | 2950 }; |
| 2954 | 2951 |
| 2955 | 2952 |
| 2956 } } // namespace v8::internal | 2953 } } // namespace v8::internal |
| 2957 | 2954 |
| 2958 #endif // V8_HYDROGEN_H_ | 2955 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |