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

Side by Side Diff: src/hydrogen.h

Issue 6805005: Fix opmitized external array access for compound assignments (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final version Created 9 years, 8 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/ast.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 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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); 838 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr);
839 HInstruction* BuildLoadKeyedFastElement(HValue* object, 839 HInstruction* BuildLoadKeyedFastElement(HValue* object,
840 HValue* key, 840 HValue* key,
841 Property* expr); 841 Property* expr);
842 HInstruction* BuildLoadKeyedSpecializedArrayElement(HValue* object, 842 HInstruction* BuildLoadKeyedSpecializedArrayElement(HValue* object,
843 HValue* key, 843 HValue* key,
844 Property* expr); 844 Property* expr);
845 HInstruction* BuildLoadKeyedGeneric(HValue* object, 845 HInstruction* BuildLoadKeyedGeneric(HValue* object,
846 HValue* key); 846 HValue* key);
847 847
848 HInstruction* BuildLoadKeyed(HValue* obj,
849 HValue* key,
850 Property* prop);
851
848 HInstruction* BuildLoadNamed(HValue* object, 852 HInstruction* BuildLoadNamed(HValue* object,
849 Property* prop, 853 Property* prop,
850 Handle<Map> map, 854 Handle<Map> map,
851 Handle<String> name); 855 Handle<String> name);
852 HInstruction* BuildStoreNamed(HValue* object, 856 HInstruction* BuildStoreNamed(HValue* object,
853 HValue* value, 857 HValue* value,
854 Expression* expr); 858 Expression* expr);
855 HInstruction* BuildStoreNamedField(HValue* object, 859 HInstruction* BuildStoreNamedField(HValue* object,
856 Handle<String> name, 860 Handle<String> name,
857 HValue* value, 861 HValue* value,
858 Handle<Map> type, 862 Handle<Map> type,
859 LookupResult* lookup, 863 LookupResult* lookup,
860 bool smi_and_map_check); 864 bool smi_and_map_check);
861 HInstruction* BuildStoreNamedGeneric(HValue* object, 865 HInstruction* BuildStoreNamedGeneric(HValue* object,
862 Handle<String> name, 866 Handle<String> name,
863 HValue* value); 867 HValue* value);
864 HInstruction* BuildStoreKeyedGeneric(HValue* object, 868 HInstruction* BuildStoreKeyedGeneric(HValue* object,
865 HValue* key, 869 HValue* key,
866 HValue* value); 870 HValue* value);
867 871
868 HInstruction* BuildStoreKeyedFastElement(HValue* object, 872 HInstruction* BuildStoreKeyedFastElement(HValue* object,
869 HValue* key, 873 HValue* key,
870 HValue* val, 874 HValue* val,
871 Expression* expr); 875 Expression* expr);
872 876
873 HInstruction* BuildStoreKeyedSpecializedArrayElement( 877 HInstruction* BuildStoreKeyedSpecializedArrayElement(
874 HValue* object, 878 HValue* object,
875 HValue* key, 879 HValue* key,
876 HValue* val, 880 HValue* val,
877 Assignment* expr); 881 Expression* expr);
882
883 HInstruction* BuildStoreKeyed(HValue* object,
884 HValue* key,
885 HValue* value,
886 Expression* assignment);
878 887
879 HValue* BuildContextChainWalk(Variable* var); 888 HValue* BuildContextChainWalk(Variable* var);
880 889
881 void AddCheckConstantFunction(Call* expr, 890 void AddCheckConstantFunction(Call* expr,
882 HValue* receiver, 891 HValue* receiver,
883 Handle<Map> receiver_map, 892 Handle<Map> receiver_map,
884 bool smi_and_map_check); 893 bool smi_and_map_check);
885 894
886 Zone* zone() { return zone_; } 895 Zone* zone() { return zone_; }
887 896
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 const char* filename_; 1137 const char* filename_;
1129 HeapStringAllocator string_allocator_; 1138 HeapStringAllocator string_allocator_;
1130 StringStream trace_; 1139 StringStream trace_;
1131 int indent_; 1140 int indent_;
1132 }; 1141 };
1133 1142
1134 1143
1135 } } // namespace v8::internal 1144 } } // namespace v8::internal
1136 1145
1137 #endif // V8_HYDROGEN_H_ 1146 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698