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

Side by Side Diff: src/hydrogen.h

Issue 21058003: Store mode for keyed stores should be passed in from type feedback (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Quick punctuation fix Created 7 years, 3 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 | « src/code-stubs-hydrogen.cc ('k') | 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 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 ElementsKind kind, 1218 ElementsKind kind,
1219 HValue* length); 1219 HValue* length);
1220 1220
1221 void BuildTransitionElementsKind(HValue* object, 1221 void BuildTransitionElementsKind(HValue* object,
1222 HValue* map, 1222 HValue* map,
1223 ElementsKind from_kind, 1223 ElementsKind from_kind,
1224 ElementsKind to_kind, 1224 ElementsKind to_kind,
1225 bool is_jsarray); 1225 bool is_jsarray);
1226 1226
1227 HInstruction* BuildUncheckedMonomorphicElementAccess( 1227 HInstruction* BuildUncheckedMonomorphicElementAccess(
1228 HValue* object, 1228 HValue* checked_object,
1229 HValue* key, 1229 HValue* key,
1230 HValue* val, 1230 HValue* val,
1231 HCheckMaps* mapcheck,
1232 bool is_js_array, 1231 bool is_js_array,
1233 ElementsKind elements_kind, 1232 ElementsKind elements_kind,
1234 bool is_store, 1233 bool is_store,
1235 LoadKeyedHoleMode load_mode, 1234 LoadKeyedHoleMode load_mode,
1236 KeyedAccessStoreMode store_mode); 1235 KeyedAccessStoreMode store_mode);
1237 1236
1238 HInstruction* AddExternalArrayElementAccess( 1237 HInstruction* AddExternalArrayElementAccess(
1239 HValue* external_elements, 1238 HValue* external_elements,
1240 HValue* checked_key, 1239 HValue* checked_key,
1241 HValue* val, 1240 HValue* val,
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 HInstruction* BuildIncrement(bool returns_original_input, 1974 HInstruction* BuildIncrement(bool returns_original_input,
1976 CountOperation* expr); 1975 CountOperation* expr);
1977 HInstruction* BuildLoadKeyedGeneric(HValue* object, 1976 HInstruction* BuildLoadKeyedGeneric(HValue* object,
1978 HValue* key); 1977 HValue* key);
1979 1978
1980 HInstruction* TryBuildConsolidatedElementLoad(HValue* object, 1979 HInstruction* TryBuildConsolidatedElementLoad(HValue* object,
1981 HValue* key, 1980 HValue* key,
1982 HValue* val, 1981 HValue* val,
1983 SmallMapList* maps); 1982 SmallMapList* maps);
1984 1983
1984 LoadKeyedHoleMode BuildKeyedHoleMode(Handle<Map> map);
1985
1985 HInstruction* BuildMonomorphicElementAccess(HValue* object, 1986 HInstruction* BuildMonomorphicElementAccess(HValue* object,
1986 HValue* key, 1987 HValue* key,
1987 HValue* val, 1988 HValue* val,
1988 HValue* dependency, 1989 HValue* dependency,
1989 Handle<Map> map, 1990 Handle<Map> map,
1990 bool is_store, 1991 bool is_store,
1991 KeyedAccessStoreMode store_mode); 1992 KeyedAccessStoreMode store_mode);
1992 1993
1993 HValue* HandlePolymorphicElementAccess(HValue* object, 1994 HValue* HandlePolymorphicElementAccess(HValue* object,
1994 HValue* key, 1995 HValue* key,
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 } 2308 }
2308 2309
2309 private: 2310 private:
2310 HGraphBuilder* builder_; 2311 HGraphBuilder* builder_;
2311 }; 2312 };
2312 2313
2313 2314
2314 } } // namespace v8::internal 2315 } } // namespace v8::internal
2315 2316
2316 #endif // V8_HYDROGEN_H_ 2317 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698