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

Side by Side Diff: src/hydrogen.h

Issue 8354003: Handle keyed stores after elements transition monomorphically if possible (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 bool is_store); 943 bool is_store);
944 HInstruction* BuildFastElementAccess(HValue* elements, 944 HInstruction* BuildFastElementAccess(HValue* elements,
945 HValue* checked_key, 945 HValue* checked_key,
946 HValue* val, 946 HValue* val,
947 ElementsKind elements_kind, 947 ElementsKind elements_kind,
948 bool is_store); 948 bool is_store);
949 949
950 HInstruction* BuildMonomorphicElementAccess(HValue* object, 950 HInstruction* BuildMonomorphicElementAccess(HValue* object,
951 HValue* key, 951 HValue* key,
952 HValue* val, 952 HValue* val,
953 Expression* expr, 953 Handle<Map> map,
954 bool is_store); 954 bool is_store);
955 HValue* HandlePolymorphicElementAccess(HValue* object, 955 HValue* HandlePolymorphicElementAccess(HValue* object,
956 HValue* key, 956 HValue* key,
957 HValue* val, 957 HValue* val,
958 Expression* prop, 958 Expression* prop,
959 int ast_id, 959 int ast_id,
960 int position, 960 int position,
961 bool is_store, 961 bool is_store,
962 bool* has_side_effects); 962 bool* has_side_effects);
963 963
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1240 const char* filename_; 1240 const char* filename_;
1241 HeapStringAllocator string_allocator_; 1241 HeapStringAllocator string_allocator_;
1242 StringStream trace_; 1242 StringStream trace_;
1243 int indent_; 1243 int indent_;
1244 }; 1244 };
1245 1245
1246 1246
1247 } } // namespace v8::internal 1247 } } // namespace v8::internal
1248 1248
1249 #endif // V8_HYDROGEN_H_ 1249 #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