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

Side by Side Diff: src/hydrogen.h

Issue 10831047: Move BuildCallGetter/BuildCallSetter up in the call chain. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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') | no next file with comments »
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 NilValue nil); 1081 NilValue nil);
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,
Michael Starzinger 2012/07/27 09:19:23 I know it's not part of your change, but can we mo
Sven Panne 2012/07/27 09:42:40 Done.
1092 Handle<Map> map, 1092 Handle<Map> map,
1093 LookupResult* result, 1093 LookupResult* result,
1094 bool smi_and_map_check); 1094 bool smi_and_map_check);
1095 HInstruction* BuildLoadNamedGeneric(HValue* object, 1095 HInstruction* BuildLoadNamedGeneric(HValue* object,
Michael Starzinger 2012/07/27 09:19:23 Likewise.
Sven Panne 2012/07/27 09:42:40 Done.
1096 Handle<String> name, 1096 Handle<String> name,
1097 Property* expr); 1097 Property* expr);
1098 HInstruction* BuildLoadKeyedGeneric(HValue* object, HValue* key); 1098 HInstruction* BuildLoadKeyedGeneric(HValue* object, HValue* key);
Michael Starzinger 2012/07/27 09:19:23 Likewise.
Sven Panne 2012/07/27 09:42:40 Done.
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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* object, 1150 HInstruction* BuildCallGetter(HValue* object,
1151 Handle<Map> map, 1151 Handle<Map> map,
1152 Handle<AccessorPair> accessors, 1152 Handle<AccessorPair> accessors,
1153 Handle<JSObject> holder); 1153 Handle<JSObject> holder);
1154 bool LookupAccessorPair(Handle<Map> map,
Michael Starzinger 2012/07/27 09:19:23 Can we have a short comment what this method does
Sven Panne 2012/07/27 09:42:40 Done.
1155 Handle<String> name,
1156 Handle<AccessorPair>* accessors,
1157 Handle<JSObject>* holder);
1154 HInstruction* BuildLoadNamedMonomorphic(HValue* object, 1158 HInstruction* BuildLoadNamedMonomorphic(HValue* object,
1155 Handle<String> name, 1159 Handle<String> name,
1156 Property* expr, 1160 Property* expr,
1157 Handle<Map> map); 1161 Handle<Map> map);
1158 HInstruction* BuildCallSetter(HValue* object, 1162 HInstruction* BuildCallSetter(HValue* object,
1159 HValue* value, 1163 HValue* value,
1160 Handle<Map> map, 1164 Handle<Map> map,
1161 Handle<AccessorPair> accessors, 1165 Handle<AccessorPair> accessors,
1162 Handle<JSObject> holder); 1166 Handle<JSObject> holder);
1163 HInstruction* BuildStoreNamedMonomorphic(HValue* object, 1167 HInstruction* BuildStoreNamedMonomorphic(HValue* object,
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 const char* filename_; 1460 const char* filename_;
1457 HeapStringAllocator string_allocator_; 1461 HeapStringAllocator string_allocator_;
1458 StringStream trace_; 1462 StringStream trace_;
1459 int indent_; 1463 int indent_;
1460 }; 1464 };
1461 1465
1462 1466
1463 } } // namespace v8::internal 1467 } } // namespace v8::internal
1464 1468
1465 #endif // V8_HYDROGEN_H_ 1469 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698