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

Side by Side Diff: src/hydrogen.h

Issue 16975006: Try convert polymorphic stores into a single monomorphic store. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Fixed bug in TryLoad Created 7 years, 6 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 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 Handle<String> name); 1700 Handle<String> name);
1701 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, 1701 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr,
1702 HValue* object, 1702 HValue* object,
1703 SmallMapList* types, 1703 SmallMapList* types,
1704 Handle<String> name); 1704 Handle<String> name);
1705 void HandlePolymorphicStoreNamedField(Assignment* expr, 1705 void HandlePolymorphicStoreNamedField(Assignment* expr,
1706 HValue* object, 1706 HValue* object,
1707 HValue* value, 1707 HValue* value,
1708 SmallMapList* types, 1708 SmallMapList* types,
1709 Handle<String> name); 1709 Handle<String> name);
1710 bool TryStorePolymorphicAsMonomorphic(Assignment* expr,
1711 HValue* object,
1712 HValue* value,
1713 SmallMapList* types,
1714 Handle<String> name);
1710 void HandlePolymorphicCallNamed(Call* expr, 1715 void HandlePolymorphicCallNamed(Call* expr,
1711 HValue* receiver, 1716 HValue* receiver,
1712 SmallMapList* types, 1717 SmallMapList* types,
1713 Handle<String> name); 1718 Handle<String> name);
1714 void HandleLiteralCompareTypeof(CompareOperation* expr, 1719 void HandleLiteralCompareTypeof(CompareOperation* expr,
1715 HTypeof* typeof_expr, 1720 HTypeof* typeof_expr,
1716 Handle<String> check); 1721 Handle<String> check);
1717 void HandleLiteralCompareNil(CompareOperation* expr, 1722 void HandleLiteralCompareNil(CompareOperation* expr,
1718 HValue* value, 1723 HValue* value,
1719 NilValue nil); 1724 NilValue nil);
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 EmbeddedVector<char, 64> filename_; 2036 EmbeddedVector<char, 64> filename_;
2032 HeapStringAllocator string_allocator_; 2037 HeapStringAllocator string_allocator_;
2033 StringStream trace_; 2038 StringStream trace_;
2034 int indent_; 2039 int indent_;
2035 }; 2040 };
2036 2041
2037 2042
2038 } } // namespace v8::internal 2043 } } // namespace v8::internal
2039 2044
2040 #endif // V8_HYDROGEN_H_ 2045 #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