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

Side by Side Diff: src/hydrogen.h

Issue 5971003: Fix GVN for polymorphic loads.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years 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 | « no previous file | 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 Handle<String> name); 779 Handle<String> name);
780 void HandlePolymorphicCallNamed(Call* expr, 780 void HandlePolymorphicCallNamed(Call* expr,
781 HValue* receiver, 781 HValue* receiver,
782 ZoneMapList* types, 782 ZoneMapList* types,
783 Handle<String> name); 783 Handle<String> name);
784 784
785 HInstruction* BuildBinaryOperation(BinaryOperation* expr, 785 HInstruction* BuildBinaryOperation(BinaryOperation* expr,
786 HValue* left, 786 HValue* left,
787 HValue* right); 787 HValue* right);
788 HInstruction* BuildIncrement(HValue* value, bool increment); 788 HInstruction* BuildIncrement(HValue* value, bool increment);
789 HInstruction* BuildLoadNamedField(HValue* object, 789 HLoadNamedField* BuildLoadNamedField(HValue* object,
790 Property* expr, 790 Property* expr,
791 Handle<Map> type, 791 Handle<Map> type,
792 LookupResult* result, 792 LookupResult* result,
793 bool smi_and_map_check); 793 bool smi_and_map_check);
794 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr); 794 HInstruction* BuildLoadNamedGeneric(HValue* object, Property* expr);
795 HInstruction* BuildLoadKeyedFastElement(HValue* object, 795 HInstruction* BuildLoadKeyedFastElement(HValue* object,
796 HValue* key, 796 HValue* key,
797 Property* expr); 797 Property* expr);
798 HInstruction* BuildLoadKeyedGeneric(HValue* object, 798 HInstruction* BuildLoadKeyedGeneric(HValue* object,
799 HValue* key); 799 HValue* key);
800 800
801 HInstruction* BuildLoadNamed(HValue* object, 801 HInstruction* BuildLoadNamed(HValue* object,
802 Property* prop, 802 Property* prop,
803 Handle<Map> map, 803 Handle<Map> map,
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 const char* filename_; 1061 const char* filename_;
1062 HeapStringAllocator string_allocator_; 1062 HeapStringAllocator string_allocator_;
1063 StringStream trace_; 1063 StringStream trace_;
1064 int indent_; 1064 int indent_;
1065 }; 1065 };
1066 1066
1067 1067
1068 } } // namespace v8::internal 1068 } } // namespace v8::internal
1069 1069
1070 #endif // V8_HYDROGEN_H_ 1070 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698