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

Side by Side Diff: src/hydrogen.h

Issue 19528005: Fix wrong bailout id in polymorphic stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Adding getter test 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') | no next file with comments »
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 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 void HandlePropertyAssignment(Assignment* expr); 1734 void HandlePropertyAssignment(Assignment* expr);
1735 void HandleCompoundAssignment(Assignment* expr); 1735 void HandleCompoundAssignment(Assignment* expr);
1736 void HandlePolymorphicLoadNamedField(Property* expr, 1736 void HandlePolymorphicLoadNamedField(Property* expr,
1737 HValue* object, 1737 HValue* object,
1738 SmallMapList* types, 1738 SmallMapList* types,
1739 Handle<String> name); 1739 Handle<String> name);
1740 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, 1740 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr,
1741 HValue* object, 1741 HValue* object,
1742 SmallMapList* types, 1742 SmallMapList* types,
1743 Handle<String> name); 1743 Handle<String> name);
1744 void HandlePolymorphicStoreNamedField(BailoutId id, 1744 void HandlePolymorphicStoreNamedField(int position,
1745 int position,
1746 BailoutId assignment_id, 1745 BailoutId assignment_id,
1747 HValue* object, 1746 HValue* object,
1748 HValue* value, 1747 HValue* value,
1749 HValue* result, 1748 HValue* result,
1750 SmallMapList* types, 1749 SmallMapList* types,
1751 Handle<String> name); 1750 Handle<String> name);
1752 bool TryStorePolymorphicAsMonomorphic(int position, 1751 bool TryStorePolymorphicAsMonomorphic(int position,
1753 BailoutId assignment_id, 1752 BailoutId assignment_id,
1754 HValue* object, 1753 HValue* object,
1755 HValue* value, 1754 HValue* value,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 void AddCheckMapsWithTransitions(HValue* object, 1830 void AddCheckMapsWithTransitions(HValue* object,
1832 Handle<Map> map); 1831 Handle<Map> map);
1833 1832
1834 void BuildStoreNamed(Expression* expression, 1833 void BuildStoreNamed(Expression* expression,
1835 BailoutId id, 1834 BailoutId id,
1836 int position, 1835 int position,
1837 BailoutId assignment_id, 1836 BailoutId assignment_id,
1838 Property* prop, 1837 Property* prop,
1839 HValue* object, 1838 HValue* object,
1840 HValue* store_value, 1839 HValue* store_value,
1841 HValue* result_value = NULL); 1840 HValue* result_value);
1842 1841
1843 HInstruction* BuildStoreNamedField(HValue* object, 1842 HInstruction* BuildStoreNamedField(HValue* object,
1844 Handle<String> name, 1843 Handle<String> name,
1845 HValue* value, 1844 HValue* value,
1846 Handle<Map> map, 1845 Handle<Map> map,
1847 LookupResult* lookup); 1846 LookupResult* lookup);
1848 HInstruction* BuildStoreNamedGeneric(HValue* object, 1847 HInstruction* BuildStoreNamedGeneric(HValue* object,
1849 Handle<String> name, 1848 Handle<String> name,
1850 HValue* value); 1849 HValue* value);
1851 HInstruction* BuildStoreNamedMonomorphic(HValue* object, 1850 HInstruction* BuildStoreNamedMonomorphic(HValue* object,
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
2096 EmbeddedVector<char, 64> filename_; 2095 EmbeddedVector<char, 64> filename_;
2097 HeapStringAllocator string_allocator_; 2096 HeapStringAllocator string_allocator_;
2098 StringStream trace_; 2097 StringStream trace_;
2099 int indent_; 2098 int indent_;
2100 }; 2099 };
2101 2100
2102 2101
2103 } } // namespace v8::internal 2102 } } // namespace v8::internal
2104 2103
2105 #endif // V8_HYDROGEN_H_ 2104 #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