Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: src/hydrogen.h

Issue 10801013: Preparatory refactoring-only steps for inlining accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1081 1081
1082 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, 1082 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context,
1083 HValue* string, 1083 HValue* string,
1084 HValue* index); 1084 HValue* index);
1085 HInstruction* BuildBinaryOperation(BinaryOperation* expr, 1085 HInstruction* BuildBinaryOperation(BinaryOperation* expr,
1086 HValue* left, 1086 HValue* left,
1087 HValue* right); 1087 HValue* right);
1088 HInstruction* BuildIncrement(bool returns_original_input, 1088 HInstruction* BuildIncrement(bool returns_original_input,
1089 CountOperation* expr); 1089 CountOperation* expr);
1090 HLoadNamedField* BuildLoadNamedField(HValue* object, 1090 HLoadNamedField* BuildLoadNamedField(HValue* object,
1091 Property* expr, 1091 Handle<Map> map,
1092 Handle<Map> type,
1093 LookupResult* result, 1092 LookupResult* result,
1094 bool smi_and_map_check); 1093 bool smi_and_map_check);
1095 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); 1094 HInstruction* BuildLoadNamedGeneric(HValue* object,
1096 HInstruction* BuildLoadKeyedGeneric(HValue* object, 1095 Handle<String> name,
1097 HValue* key); 1096 Property* expr);
1097 HInstruction* BuildLoadKeyedGeneric(HValue* object, HValue* key);
1098 HInstruction* BuildExternalArrayElementAccess( 1098 HInstruction* BuildExternalArrayElementAccess(
1099 HValue* external_elements, 1099 HValue* external_elements,
1100 HValue* checked_key, 1100 HValue* checked_key,
1101 HValue* val, 1101 HValue* val,
1102 ElementsKind elements_kind, 1102 ElementsKind elements_kind,
1103 bool is_store); 1103 bool is_store);
1104 HInstruction* BuildFastElementAccess(HValue* elements, 1104 HInstruction* BuildFastElementAccess(HValue* elements,
1105 HValue* checked_key, 1105 HValue* checked_key,
1106 HValue* val, 1106 HValue* val,
1107 ElementsKind elements_kind, 1107 ElementsKind elements_kind,
(...skipping 30 matching lines...) Expand all
1138 HValue* HandleKeyedElementAccess(HValue* obj, 1138 HValue* HandleKeyedElementAccess(HValue* obj,
1139 HValue* key, 1139 HValue* key,
1140 HValue* val, 1140 HValue* val,
1141 Expression* expr, 1141 Expression* expr,
1142 int ast_id, 1142 int ast_id,
1143 int position, 1143 int position,
1144 bool is_store, 1144 bool is_store,
1145 bool* has_side_effects); 1145 bool* has_side_effects);
1146 1146
1147 HInstruction* BuildCallGetter(HValue* obj, 1147 HInstruction* BuildCallGetter(HValue* obj,
1148 Property* expr,
1149 Handle<Map> map, 1148 Handle<Map> map,
1150 Handle<Object> callback, 1149 Handle<AccessorPair> accessors,
1151 Handle<JSObject> holder); 1150 Handle<JSObject> holder);
1151 bool IsAccessorCall(Handle<Map> map,
1152 Handle<String> name,
1153 Handle<AccessorPair>* accessors,
1154 Handle<JSObject>* holder);
1152 HInstruction* BuildLoadNamed(HValue* object, 1155 HInstruction* BuildLoadNamed(HValue* object,
1153 Property* prop, 1156 Handle<String> name,
1154 Handle<Map> map, 1157 Property* expr,
1155 Handle<String> name); 1158 Handle<Map> map);
1156 HInstruction* BuildCallSetter(HValue* object, 1159 HInstruction* BuildCallSetter(HValue* object,
1160 HValue* value,
1161 Handle<Map> map,
1162 Handle<AccessorPair> accessors,
1163 Handle<JSObject> holder);
1164 HInstruction* BuildStoreNamed(HValue* object,
1157 Handle<String> name, 1165 Handle<String> name,
1158 HValue* value, 1166 HValue* value,
1159 Handle<Map> map, 1167 Handle<Map> map);
1160 Handle<Object> callback,
1161 Handle<JSObject> holder);
1162 HInstruction* BuildStoreNamed(HValue* object,
1163 HValue* value,
1164 Handle<Map> type,
1165 Expression* key);
1166 HInstruction* BuildStoreNamedField(HValue* object, 1168 HInstruction* BuildStoreNamedField(HValue* object,
1167 Handle<String> name, 1169 Handle<String> name,
1168 HValue* value, 1170 HValue* value,
1169 Handle<Map> type, 1171 Handle<Map> map,
1170 LookupResult* lookup, 1172 LookupResult* lookup,
1171 bool smi_and_map_check); 1173 bool smi_and_map_check);
1172 HInstruction* BuildStoreNamedGeneric(HValue* object, 1174 HInstruction* BuildStoreNamedGeneric(HValue* object,
1173 Handle<String> name, 1175 Handle<String> name,
1174 HValue* value); 1176 HValue* value);
1175 HInstruction* BuildStoreKeyedGeneric(HValue* object, 1177 HInstruction* BuildStoreKeyedGeneric(HValue* object,
1176 HValue* key, 1178 HValue* key,
1177 HValue* value); 1179 HValue* value);
1178 1180
1179 HValue* BuildContextChainWalk(Variable* var); 1181 HValue* BuildContextChainWalk(Variable* var);
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
1455 const char* filename_; 1457 const char* filename_;
1456 HeapStringAllocator string_allocator_; 1458 HeapStringAllocator string_allocator_;
1457 StringStream trace_; 1459 StringStream trace_;
1458 int indent_; 1460 int indent_;
1459 }; 1461 };
1460 1462
1461 1463
1462 } } // namespace v8::internal 1464 } } // namespace v8::internal
1463 1465
1464 #endif // V8_HYDROGEN_H_ 1466 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698