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

Side by Side Diff: src/hydrogen.h

Issue 7655017: Improve memory usage of receiver type feedback. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ReceiverTypeList -> SmallMapList Created 9 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
« src/ast.h ('K') | « 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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 void HandleGlobalVariableAssignment(Variable* var, 894 void HandleGlobalVariableAssignment(Variable* var,
895 HValue* value, 895 HValue* value,
896 int position, 896 int position,
897 int ast_id); 897 int ast_id);
898 898
899 void HandlePropertyAssignment(Assignment* expr); 899 void HandlePropertyAssignment(Assignment* expr);
900 void HandleCompoundAssignment(Assignment* expr); 900 void HandleCompoundAssignment(Assignment* expr);
901 void HandlePolymorphicStoreNamedField(Assignment* expr, 901 void HandlePolymorphicStoreNamedField(Assignment* expr,
902 HValue* object, 902 HValue* object,
903 HValue* value, 903 HValue* value,
904 ZoneMapList* types, 904 SmallMapList* types,
905 Handle<String> name); 905 Handle<String> name);
906 void HandlePolymorphicCallNamed(Call* expr, 906 void HandlePolymorphicCallNamed(Call* expr,
907 HValue* receiver, 907 HValue* receiver,
908 ZoneMapList* types, 908 SmallMapList* types,
909 Handle<String> name); 909 Handle<String> name);
910 void HandleLiteralCompareTypeof(CompareOperation* compare_expr, 910 void HandleLiteralCompareTypeof(CompareOperation* compare_expr,
911 Expression* expr, 911 Expression* expr,
912 Handle<String> check); 912 Handle<String> check);
913 void HandleLiteralCompareUndefined(CompareOperation* compare_expr, 913 void HandleLiteralCompareUndefined(CompareOperation* compare_expr,
914 Expression* expr); 914 Expression* expr);
915 915
916 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, 916 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context,
917 HValue* string, 917 HValue* string,
918 HValue* index); 918 HValue* index);
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1229 const char* filename_; 1229 const char* filename_;
1230 HeapStringAllocator string_allocator_; 1230 HeapStringAllocator string_allocator_;
1231 StringStream trace_; 1231 StringStream trace_;
1232 int indent_; 1232 int indent_;
1233 }; 1233 };
1234 1234
1235 1235
1236 } } // namespace v8::internal 1236 } } // namespace v8::internal
1237 1237
1238 #endif // V8_HYDROGEN_H_ 1238 #endif // V8_HYDROGEN_H_
OLDNEW
« src/ast.h ('K') | « src/ast.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698