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

Side by Side Diff: src/hydrogen.h

Issue 7918012: Unify the handling of comparinsons against null and undefined. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 3 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/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | src/v8.h » ('J')
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 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 void HandleCompoundAssignment(Assignment* expr); 903 void HandleCompoundAssignment(Assignment* expr);
904 void HandlePolymorphicStoreNamedField(Assignment* expr, 904 void HandlePolymorphicStoreNamedField(Assignment* expr,
905 HValue* object, 905 HValue* object,
906 HValue* value, 906 HValue* value,
907 SmallMapList* types, 907 SmallMapList* types,
908 Handle<String> name); 908 Handle<String> name);
909 void HandlePolymorphicCallNamed(Call* expr, 909 void HandlePolymorphicCallNamed(Call* expr,
910 HValue* receiver, 910 HValue* receiver,
911 SmallMapList* types, 911 SmallMapList* types,
912 Handle<String> name); 912 Handle<String> name);
913 void HandleLiteralCompareTypeof(CompareOperation* compare_expr, 913 bool TryLiteralCompare(CompareOperation* expr);
914 Expression* expr, 914 void HandleLiteralCompareTypeof(CompareOperation* expr,
915 Expression* sub_expr,
915 Handle<String> check); 916 Handle<String> check);
916 void HandleLiteralCompareUndefined(CompareOperation* compare_expr, 917 void HandleLiteralCompareNil(CompareOperation* expr,
917 Expression* expr); 918 Expression* sub_expr,
918 void HandleLiteralCompareNull(CompareOperation* compare_expr, 919 NilValue nil);
919 Expression* expr);
920 920
921 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context, 921 HStringCharCodeAt* BuildStringCharCodeAt(HValue* context,
922 HValue* string, 922 HValue* string,
923 HValue* index); 923 HValue* index);
924 HInstruction* BuildBinaryOperation(BinaryOperation* expr, 924 HInstruction* BuildBinaryOperation(BinaryOperation* expr,
925 HValue* left, 925 HValue* left,
926 HValue* right); 926 HValue* right);
927 HInstruction* BuildIncrement(bool returns_original_input, 927 HInstruction* BuildIncrement(bool returns_original_input,
928 CountOperation* expr); 928 CountOperation* expr);
929 HLoadNamedField* BuildLoadNamedField(HValue* object, 929 HLoadNamedField* BuildLoadNamedField(HValue* object,
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 const char* filename_; 1234 const char* filename_;
1235 HeapStringAllocator string_allocator_; 1235 HeapStringAllocator string_allocator_;
1236 StringStream trace_; 1236 StringStream trace_;
1237 int indent_; 1237 int indent_;
1238 }; 1238 };
1239 1239
1240 1240
1241 } } // namespace v8::internal 1241 } } // namespace v8::internal
1242 1242
1243 #endif // V8_HYDROGEN_H_ 1243 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/hydrogen.cc » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698