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

Side by Side Diff: src/hydrogen.h

Issue 7170012: Crankshaft support for polymorphic array handling (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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
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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 HValue* left, 891 HValue* left,
892 HValue* right); 892 HValue* right);
893 HInstruction* BuildIncrement(bool returns_original_input, 893 HInstruction* BuildIncrement(bool returns_original_input,
894 CountOperation* expr); 894 CountOperation* expr);
895 HLoadNamedField* BuildLoadNamedField(HValue* object, 895 HLoadNamedField* BuildLoadNamedField(HValue* object,
896 Property* expr, 896 Property* expr,
897 Handle<Map> type, 897 Handle<Map> type,
898 LookupResult* result, 898 LookupResult* result,
899 bool smi_and_map_check); 899 bool smi_and_map_check);
900 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); 900 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr);
901 HInstruction* BuildLoadKeyedFastElement(HValue* object,
902 HValue* key,
903 Property* expr);
904 HInstruction* BuildLoadKeyedSpecializedArrayElement(HValue* object,
905 HValue* key,
906 Property* expr);
907 HInstruction* BuildLoadKeyedGeneric(HValue* object, 901 HInstruction* BuildLoadKeyedGeneric(HValue* object,
908 HValue* key); 902 HValue* key);
fschneider 2011/06/15 12:11:46 Remove extra indentation.
Jakob Kummerow 2011/06/15 12:28:58 Done. The presubmit.py script should be clever eno
909 903
910 HInstruction* BuildLoadKeyed(HValue* obj, 904 HInstruction* BuildMonomorphicElementAccess(HValue* object,
911 HValue* key, 905 HValue* key,
912 Property* prop); 906 HValue* val,
907 Expression* expr,
908 bool is_store);
909 HValue* HandlePolymorphicElementAccess(HValue* object,
910 HValue* key,
fschneider 2011/06/15 12:11:46 Align parameters with the first one.
Jakob Kummerow 2011/06/15 12:28:58 Done.
911 HValue* val,
912 Expression* prop,
913 int ast_id,
914 int position,
915 bool is_store,
916 bool* has_side_effects);
917
918 HValue* HandleKeyedElementAccess(HValue* obj,
919 HValue* key,
fschneider 2011/06/15 12:11:46 Indent parameters with the first one.
Jakob Kummerow 2011/06/15 12:28:58 Done.
920 HValue* val,
921 Expression* expr,
922 int ast_id,
923 int position,
924 bool is_store,
925 bool* has_side_effects);
913 926
914 HInstruction* BuildLoadNamed(HValue* object, 927 HInstruction* BuildLoadNamed(HValue* object,
915 Property* prop, 928 Property* prop,
916 Handle<Map> map, 929 Handle<Map> map,
917 Handle<String> name); 930 Handle<String> name);
918 HInstruction* BuildStoreNamed(HValue* object, 931 HInstruction* BuildStoreNamed(HValue* object,
919 HValue* value, 932 HValue* value,
920 Expression* expr); 933 Expression* expr);
921 HInstruction* BuildStoreNamedField(HValue* object, 934 HInstruction* BuildStoreNamedField(HValue* object,
922 Handle<String> name, 935 Handle<String> name,
923 HValue* value, 936 HValue* value,
924 Handle<Map> type, 937 Handle<Map> type,
925 LookupResult* lookup, 938 LookupResult* lookup,
926 bool smi_and_map_check); 939 bool smi_and_map_check);
927 HInstruction* BuildStoreNamedGeneric(HValue* object, 940 HInstruction* BuildStoreNamedGeneric(HValue* object,
928 Handle<String> name, 941 Handle<String> name,
929 HValue* value); 942 HValue* value);
930 HInstruction* BuildStoreKeyedGeneric(HValue* object, 943 HInstruction* BuildStoreKeyedGeneric(HValue* object,
931 HValue* key, 944 HValue* key,
932 HValue* value); 945 HValue* value);
933 946
934 HInstruction* BuildStoreKeyedFastElement(HValue* object,
935 HValue* key,
936 HValue* val,
937 Expression* expr);
938
939 HInstruction* BuildStoreKeyedSpecializedArrayElement(
940 HValue* object,
941 HValue* key,
942 HValue* val,
943 Expression* expr);
944
945 HInstruction* BuildStoreKeyed(HValue* object,
946 HValue* key,
947 HValue* value,
948 Expression* assignment);
949
950 HValue* BuildContextChainWalk(Variable* var); 947 HValue* BuildContextChainWalk(Variable* var);
951 948
952 void AddCheckConstantFunction(Call* expr, 949 void AddCheckConstantFunction(Call* expr,
953 HValue* receiver, 950 HValue* receiver,
954 Handle<Map> receiver_map, 951 Handle<Map> receiver_map,
955 bool smi_and_map_check); 952 bool smi_and_map_check);
956 953
957 Zone* zone() { return zone_; } 954 Zone* zone() { return zone_; }
958 955
959 // The translation state of the currently-being-translated function. 956 // The translation state of the currently-being-translated function.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 const char* filename_; 1194 const char* filename_;
1198 HeapStringAllocator string_allocator_; 1195 HeapStringAllocator string_allocator_;
1199 StringStream trace_; 1196 StringStream trace_;
1200 int indent_; 1197 int indent_;
1201 }; 1198 };
1202 1199
1203 1200
1204 } } // namespace v8::internal 1201 } } // namespace v8::internal
1205 1202
1206 #endif // V8_HYDROGEN_H_ 1203 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698