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 2738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2749 PropertyAccessType access_type, | 2749 PropertyAccessType access_type, |
2750 KeyedAccessStoreMode store_mode, | 2750 KeyedAccessStoreMode store_mode, |
2751 bool* has_side_effects); | 2751 bool* has_side_effects); |
2752 | 2752 |
2753 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, | 2753 HValue* HandleKeyedElementAccess(HValue* obj, HValue* key, HValue* val, |
2754 Expression* expr, BailoutId ast_id, | 2754 Expression* expr, BailoutId ast_id, |
2755 BailoutId return_id, | 2755 BailoutId return_id, |
2756 PropertyAccessType access_type, | 2756 PropertyAccessType access_type, |
2757 bool* has_side_effects); | 2757 bool* has_side_effects); |
2758 | 2758 |
2759 HInstruction* BuildNamedGeneric(PropertyAccessType access, | 2759 HInstruction* BuildNamedGeneric(PropertyAccessType access, Expression* expr, |
2760 Expression* expr, | 2760 HValue* object, Handle<String> name, |
2761 HValue* object, | 2761 HValue* value, bool is_uninitialized = false); |
2762 Handle<String> name, | |
2763 HValue* value, | |
2764 bool is_uninitialized = false); | |
2765 | 2762 |
2766 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); | 2763 HCheckMaps* AddCheckMap(HValue* object, Handle<Map> map); |
2767 | 2764 |
2768 void BuildLoad(Property* property, | 2765 void BuildLoad(Property* property, |
2769 BailoutId ast_id); | 2766 BailoutId ast_id); |
2770 void PushLoad(Property* property, | 2767 void PushLoad(Property* property, |
2771 HValue* object, | 2768 HValue* object, |
2772 HValue* key); | 2769 HValue* key); |
2773 | 2770 |
2774 void BuildStoreForEffect(Expression* expression, | 2771 void BuildStoreForEffect(Expression* expression, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3032 } | 3029 } |
3033 | 3030 |
3034 private: | 3031 private: |
3035 HGraphBuilder* builder_; | 3032 HGraphBuilder* builder_; |
3036 }; | 3033 }; |
3037 | 3034 |
3038 | 3035 |
3039 } } // namespace v8::internal | 3036 } } // namespace v8::internal |
3040 | 3037 |
3041 #endif // V8_HYDROGEN_H_ | 3038 #endif // V8_HYDROGEN_H_ |
OLD | NEW |