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

Side by Side Diff: src/hydrogen.h

Issue 18219003: Simplify and unify PolymorphicStoreNameFeild (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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 | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 void HandlePropertyAssignment(Assignment* expr); 1747 void HandlePropertyAssignment(Assignment* expr);
1748 void HandleCompoundAssignment(Assignment* expr); 1748 void HandleCompoundAssignment(Assignment* expr);
1749 void HandlePolymorphicLoadNamedField(Property* expr, 1749 void HandlePolymorphicLoadNamedField(Property* expr,
1750 HValue* object, 1750 HValue* object,
1751 SmallMapList* types, 1751 SmallMapList* types,
1752 Handle<String> name); 1752 Handle<String> name);
1753 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, 1753 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr,
1754 HValue* object, 1754 HValue* object,
1755 SmallMapList* types, 1755 SmallMapList* types,
1756 Handle<String> name); 1756 Handle<String> name);
1757
1758 void HandlePolymorphicStoreNamedFieldHelper(HValue* object,
1759 Handle<String> name,
1760 HValue* value,
1761 SmallMapList* types,
1762 int current_type,
1763 int stored_count,
1764 int position);
1765
1757 void HandlePolymorphicStoreNamedField(BailoutId id, 1766 void HandlePolymorphicStoreNamedField(BailoutId id,
1758 int position, 1767 int position,
1759 BailoutId assignment_id, 1768 BailoutId assignment_id,
1760 HValue* object, 1769 HValue* object,
1761 HValue* value, 1770 HValue* value,
1762 SmallMapList* types, 1771 SmallMapList* types,
1763 Handle<String> name); 1772 Handle<String> name);
1764 bool TryStorePolymorphicAsMonomorphic(int position, 1773 bool TryStorePolymorphicAsMonomorphic(int position,
1765 BailoutId assignment_id, 1774 BailoutId assignment_id,
1766 HValue* object, 1775 HValue* object,
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 EmbeddedVector<char, 64> filename_; 2114 EmbeddedVector<char, 64> filename_;
2106 HeapStringAllocator string_allocator_; 2115 HeapStringAllocator string_allocator_;
2107 StringStream trace_; 2116 StringStream trace_;
2108 int indent_; 2117 int indent_;
2109 }; 2118 };
2110 2119
2111 2120
2112 } } // namespace v8::internal 2121 } } // namespace v8::internal
2113 2122
2114 #endif // V8_HYDROGEN_H_ 2123 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698