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 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1047 | 1047 |
1048 // Building common constructs | 1048 // Building common constructs |
1049 HInstruction* BuildExternalArrayElementAccess( | 1049 HInstruction* BuildExternalArrayElementAccess( |
1050 HValue* external_elements, | 1050 HValue* external_elements, |
1051 HValue* checked_key, | 1051 HValue* checked_key, |
1052 HValue* val, | 1052 HValue* val, |
1053 HValue* dependency, | 1053 HValue* dependency, |
1054 ElementsKind elements_kind, | 1054 ElementsKind elements_kind, |
1055 bool is_store); | 1055 bool is_store); |
1056 | 1056 |
1057 HInstruction* BuildFastElementAccess( | |
1058 HValue* elements, | |
1059 HValue* checked_key, | |
1060 HValue* val, | |
1061 HValue* dependency, | |
1062 ElementsKind elements_kind, | |
1063 bool is_store, | |
1064 LoadKeyedHoleMode load_mode, | |
1065 KeyedAccessStoreMode store_mode); | |
1066 | |
1067 HValue* BuildCheckForCapacityGrow(HValue* object, | 1057 HValue* BuildCheckForCapacityGrow(HValue* object, |
1068 HValue* elements, | 1058 HValue* elements, |
1069 ElementsKind kind, | 1059 ElementsKind kind, |
1070 HValue* length, | 1060 HValue* length, |
1071 HValue* key, | 1061 HValue* key, |
1072 bool is_js_array); | 1062 bool is_js_array); |
1073 | 1063 |
1074 HValue* BuildCopyElementsOnWrite(HValue* object, | 1064 HValue* BuildCopyElementsOnWrite(HValue* object, |
1075 HValue* elements, | 1065 HValue* elements, |
1076 ElementsKind kind, | 1066 ElementsKind kind, |
(...skipping 20 matching lines...) Expand all Loading... |
1097 HValue *object, | 1087 HValue *object, |
1098 HObjectAccess access, | 1088 HObjectAccess access, |
1099 HValue *typecheck = NULL, | 1089 HValue *typecheck = NULL, |
1100 Representation representation = Representation::Tagged()); | 1090 Representation representation = Representation::Tagged()); |
1101 | 1091 |
1102 HLoadNamedField* BuildLoadNamedField( | 1092 HLoadNamedField* BuildLoadNamedField( |
1103 HValue* object, | 1093 HValue* object, |
1104 HObjectAccess access, | 1094 HObjectAccess access, |
1105 Representation representation); | 1095 Representation representation); |
1106 | 1096 |
| 1097 HInstruction* AddFastElementAccess( |
| 1098 HValue* elements, |
| 1099 HValue* checked_key, |
| 1100 HValue* val, |
| 1101 HValue* dependency, |
| 1102 ElementsKind elements_kind, |
| 1103 bool is_store, |
| 1104 LoadKeyedHoleMode load_mode, |
| 1105 KeyedAccessStoreMode store_mode); |
| 1106 |
1107 HStoreNamedField* AddStore( | 1107 HStoreNamedField* AddStore( |
1108 HValue *object, | 1108 HValue *object, |
1109 HObjectAccess access, | 1109 HObjectAccess access, |
1110 HValue *val, | 1110 HValue *val, |
1111 Representation representation = Representation::Tagged()); | 1111 Representation representation = Representation::Tagged()); |
1112 | 1112 |
1113 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); | 1113 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); |
1114 | 1114 |
1115 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); | 1115 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); |
1116 | 1116 |
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2095 EmbeddedVector<char, 64> filename_; | 2095 EmbeddedVector<char, 64> filename_; |
2096 HeapStringAllocator string_allocator_; | 2096 HeapStringAllocator string_allocator_; |
2097 StringStream trace_; | 2097 StringStream trace_; |
2098 int indent_; | 2098 int indent_; |
2099 }; | 2099 }; |
2100 | 2100 |
2101 | 2101 |
2102 } } // namespace v8::internal | 2102 } } // namespace v8::internal |
2103 | 2103 |
2104 #endif // V8_HYDROGEN_H_ | 2104 #endif // V8_HYDROGEN_H_ |
OLD | NEW |