Chromium Code Reviews| 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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1082 | 1082 |
| 1083 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, | 1083 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, |
| 1084 HValue* string, | 1084 HValue* string, |
| 1085 HValue* index); | 1085 HValue* index); |
| 1086 HInstruction* BuildBinaryOperation(BinaryOperation* expr, | 1086 HInstruction* BuildBinaryOperation(BinaryOperation* expr, |
| 1087 HValue* left, | 1087 HValue* left, |
| 1088 HValue* right); | 1088 HValue* right); |
| 1089 HInstruction* BuildIncrement(bool returns_original_input, | 1089 HInstruction* BuildIncrement(bool returns_original_input, |
| 1090 CountOperation* expr); | 1090 CountOperation* expr); |
| 1091 HLoadNamedField* BuildLoadNamedField(HValue* object, | 1091 HLoadNamedField* BuildLoadNamedField(HValue* object, |
| 1092 Property* expr, | 1092 Handle<Map> map, |
| 1093 Handle<Map> type, | |
| 1094 LookupResult* result, | 1093 LookupResult* result, |
| 1095 bool smi_and_map_check); | 1094 bool smi_and_map_check); |
| 1096 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); | 1095 HInstruction* BuildLoadNamedGeneric(HValue* object, |
| 1097 HInstruction* BuildLoadKeyedGeneric(HValue* object, | 1096 Handle<String> name, |
| 1098 HValue* key); | 1097 Property* expr); |
| 1098 HInstruction* BuildLoadKeyedGeneric(HValue* object, HValue* key); | |
| 1099 HInstruction* BuildExternalArrayElementAccess( | 1099 HInstruction* BuildExternalArrayElementAccess( |
| 1100 HValue* external_elements, | 1100 HValue* external_elements, |
| 1101 HValue* checked_key, | 1101 HValue* checked_key, |
| 1102 HValue* val, | 1102 HValue* val, |
| 1103 HValue* dependency, | 1103 HValue* dependency, |
| 1104 ElementsKind elements_kind, | 1104 ElementsKind elements_kind, |
| 1105 bool is_store); | 1105 bool is_store); |
| 1106 HInstruction* BuildFastElementAccess(HValue* elements, | 1106 HInstruction* BuildFastElementAccess(HValue* elements, |
| 1107 HValue* checked_key, | 1107 HValue* checked_key, |
| 1108 HValue* val, | 1108 HValue* val, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1140 | 1140 |
| 1141 HValue* HandleKeyedElementAccess(HValue* obj, | 1141 HValue* HandleKeyedElementAccess(HValue* obj, |
| 1142 HValue* key, | 1142 HValue* key, |
| 1143 HValue* val, | 1143 HValue* val, |
| 1144 Expression* expr, | 1144 Expression* expr, |
| 1145 int ast_id, | 1145 int ast_id, |
| 1146 int position, | 1146 int position, |
| 1147 bool is_store, | 1147 bool is_store, |
| 1148 bool* has_side_effects); | 1148 bool* has_side_effects); |
| 1149 | 1149 |
| 1150 HInstruction* BuildCallGetter(HValue* obj, | 1150 HInstruction* BuildCallGetter(HValue* object, |
| 1151 Property* expr, | |
| 1152 Handle<Map> map, | 1151 Handle<Map> map, |
| 1153 Handle<Object> callback, | 1152 Handle<AccessorPair> accessors, |
|
Michael Starzinger
2012/07/26 08:36:29
I like that, much cleaner!
| |
| 1154 Handle<JSObject> holder); | 1153 Handle<JSObject> holder); |
| 1155 HInstruction* BuildLoadNamed(HValue* object, | 1154 HInstruction* BuildLoadNamed(HValue* object, |
| 1156 Property* prop, | 1155 Handle<String> name, |
| 1157 Handle<Map> map, | 1156 Property* expr, |
| 1158 Handle<String> name); | 1157 Handle<Map> map); |
| 1159 HInstruction* BuildCallSetter(HValue* object, | 1158 HInstruction* BuildCallSetter(HValue* object, |
| 1159 HValue* value, | |
| 1160 Handle<Map> map, | |
| 1161 Handle<AccessorPair> accessors, | |
| 1162 Handle<JSObject> holder); | |
| 1163 HInstruction* BuildStoreNamed(HValue* object, | |
| 1160 Handle<String> name, | 1164 Handle<String> name, |
| 1161 HValue* value, | 1165 HValue* value, |
| 1162 Handle<Map> map, | 1166 Handle<Map> map); |
| 1163 Handle<Object> callback, | |
| 1164 Handle<JSObject> holder); | |
| 1165 HInstruction* BuildStoreNamed(HValue* object, | |
| 1166 HValue* value, | |
| 1167 Handle<Map> type, | |
| 1168 Expression* key); | |
| 1169 HInstruction* BuildStoreNamedField(HValue* object, | 1167 HInstruction* BuildStoreNamedField(HValue* object, |
| 1170 Handle<String> name, | 1168 Handle<String> name, |
| 1171 HValue* value, | 1169 HValue* value, |
| 1172 Handle<Map> type, | 1170 Handle<Map> map, |
| 1173 LookupResult* lookup, | 1171 LookupResult* lookup, |
| 1174 bool smi_and_map_check); | 1172 bool smi_and_map_check); |
| 1175 HInstruction* BuildStoreNamedGeneric(HValue* object, | 1173 HInstruction* BuildStoreNamedGeneric(HValue* object, |
| 1176 Handle<String> name, | 1174 Handle<String> name, |
| 1177 HValue* value); | 1175 HValue* value); |
| 1178 HInstruction* BuildStoreKeyedGeneric(HValue* object, | 1176 HInstruction* BuildStoreKeyedGeneric(HValue* object, |
| 1179 HValue* key, | 1177 HValue* key, |
| 1180 HValue* value); | 1178 HValue* value); |
| 1181 | 1179 |
| 1182 HValue* BuildContextChainWalk(Variable* var); | 1180 HValue* BuildContextChainWalk(Variable* var); |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1458 const char* filename_; | 1456 const char* filename_; |
| 1459 HeapStringAllocator string_allocator_; | 1457 HeapStringAllocator string_allocator_; |
| 1460 StringStream trace_; | 1458 StringStream trace_; |
| 1461 int indent_; | 1459 int indent_; |
| 1462 }; | 1460 }; |
| 1463 | 1461 |
| 1464 | 1462 |
| 1465 } } // namespace v8::internal | 1463 } } // namespace v8::internal |
| 1466 | 1464 |
| 1467 #endif // V8_HYDROGEN_H_ | 1465 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |