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

Side by Side Diff: src/hydrogen.h

Issue 7216008: Better codegen for '<expression> === void <literal>'. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Applied your comments. 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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 void HandleCompoundAssignment(Assignment* expr); 874 void HandleCompoundAssignment(Assignment* expr);
875 void HandlePolymorphicStoreNamedField(Assignment* expr, 875 void HandlePolymorphicStoreNamedField(Assignment* expr,
876 HValue* object, 876 HValue* object,
877 HValue* value, 877 HValue* value,
878 ZoneMapList* types, 878 ZoneMapList* types,
879 Handle<String> name); 879 Handle<String> name);
880 void HandlePolymorphicCallNamed(Call* expr, 880 void HandlePolymorphicCallNamed(Call* expr,
881 HValue* receiver, 881 HValue* receiver,
882 ZoneMapList* types, 882 ZoneMapList* types,
883 Handle<String> name); 883 Handle<String> name);
884 void HandleLiteralCompareTypeof(CompareOperation* compare_expr,
885 Expression* expr,
886 Handle<String> check);
887 void HandleLiteralCompareUndefined(CompareOperation* compare_expr,
888 Expression* expr);
884 889
885 HStringCharCodeAt* BuildStringCharCodeAt(HValue* string, 890 HStringCharCodeAt* BuildStringCharCodeAt(HValue* string,
886 HValue* index); 891 HValue* index);
887 HInstruction* BuildBinaryOperation(BinaryOperation* expr, 892 HInstruction* BuildBinaryOperation(BinaryOperation* expr,
888 HValue* left, 893 HValue* left,
889 HValue* right); 894 HValue* right);
890 HInstruction* BuildIncrement(bool returns_original_input, 895 HInstruction* BuildIncrement(bool returns_original_input,
891 CountOperation* expr); 896 CountOperation* expr);
892 HLoadNamedField* BuildLoadNamedField(HValue* object, 897 HLoadNamedField* BuildLoadNamedField(HValue* object,
893 Property* expr, 898 Property* expr,
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 const char* filename_; 1202 const char* filename_;
1198 HeapStringAllocator string_allocator_; 1203 HeapStringAllocator string_allocator_;
1199 StringStream trace_; 1204 StringStream trace_;
1200 int indent_; 1205 int indent_;
1201 }; 1206 };
1202 1207
1203 1208
1204 } } // namespace v8::internal 1209 } } // namespace v8::internal
1205 1210
1206 #endif // V8_HYDROGEN_H_ 1211 #endif // V8_HYDROGEN_H_
OLDNEW
« src/ast.cc ('K') | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698