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

Side by Side Diff: src/hydrogen.h

Issue 6708085: Enable GVN for polymorphic loads by not expanding them at the HIR level. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 9 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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 // non-NULL reason string. 787 // non-NULL reason string.
788 void TraceInline(Handle<JSFunction> target, const char* failure_reason); 788 void TraceInline(Handle<JSFunction> target, const char* failure_reason);
789 789
790 void HandleGlobalVariableAssignment(Variable* var, 790 void HandleGlobalVariableAssignment(Variable* var,
791 HValue* value, 791 HValue* value,
792 int position, 792 int position,
793 int ast_id); 793 int ast_id);
794 794
795 void HandlePropertyAssignment(Assignment* expr); 795 void HandlePropertyAssignment(Assignment* expr);
796 void HandleCompoundAssignment(Assignment* expr); 796 void HandleCompoundAssignment(Assignment* expr);
797 void HandlePolymorphicLoadNamedField(Property* expr,
798 HValue* object,
799 ZoneMapList* types,
800 Handle<String> name);
801 void HandlePolymorphicStoreNamedField(Assignment* expr, 797 void HandlePolymorphicStoreNamedField(Assignment* expr,
802 HValue* object, 798 HValue* object,
803 HValue* value, 799 HValue* value,
804 ZoneMapList* types, 800 ZoneMapList* types,
805 Handle<String> name); 801 Handle<String> name);
806 void HandlePolymorphicCallNamed(Call* expr, 802 void HandlePolymorphicCallNamed(Call* expr,
807 HValue* receiver, 803 HValue* receiver,
808 ZoneMapList* types, 804 ZoneMapList* types,
809 Handle<String> name); 805 Handle<String> name);
810 806
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 const char* filename_; 1098 const char* filename_;
1103 HeapStringAllocator string_allocator_; 1099 HeapStringAllocator string_allocator_;
1104 StringStream trace_; 1100 StringStream trace_;
1105 int indent_; 1101 int indent_;
1106 }; 1102 };
1107 1103
1108 1104
1109 } } // namespace v8::internal 1105 } } // namespace v8::internal
1110 1106
1111 #endif // V8_HYDROGEN_H_ 1107 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698