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

Side by Side Diff: src/hydrogen.h

Issue 16948005: Refactor turning polymorphic loads into monomorphic loads (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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 1683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 HValue* value, 1694 HValue* value,
1695 int position, 1695 int position,
1696 BailoutId ast_id); 1696 BailoutId ast_id);
1697 1697
1698 void HandlePropertyAssignment(Assignment* expr); 1698 void HandlePropertyAssignment(Assignment* expr);
1699 void HandleCompoundAssignment(Assignment* expr); 1699 void HandleCompoundAssignment(Assignment* expr);
1700 void HandlePolymorphicLoadNamedField(Property* expr, 1700 void HandlePolymorphicLoadNamedField(Property* expr,
1701 HValue* object, 1701 HValue* object,
1702 SmallMapList* types, 1702 SmallMapList* types,
1703 Handle<String> name); 1703 Handle<String> name);
1704 bool HandlePolymorphicArrayLengthLoad(Property* expr, 1704 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr,
1705 HValue* object, 1705 HValue* object,
1706 SmallMapList* types, 1706 SmallMapList* types,
1707 Handle<String> name); 1707 Handle<String> name);
1708 void HandlePolymorphicStoreNamedField(Assignment* expr, 1708 void HandlePolymorphicStoreNamedField(Assignment* expr,
1709 HValue* object, 1709 HValue* object,
1710 HValue* value, 1710 HValue* value,
1711 SmallMapList* types, 1711 SmallMapList* types,
1712 Handle<String> name); 1712 Handle<String> name);
1713 void HandlePolymorphicCallNamed(Call* expr, 1713 void HandlePolymorphicCallNamed(Call* expr,
1714 HValue* receiver, 1714 HValue* receiver,
1715 SmallMapList* types, 1715 SmallMapList* types,
1716 Handle<String> name); 1716 Handle<String> name);
1717 void HandleLiteralCompareTypeof(CompareOperation* expr, 1717 void HandleLiteralCompareTypeof(CompareOperation* expr,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 EmbeddedVector<char, 64> filename_; 2034 EmbeddedVector<char, 64> filename_;
2035 HeapStringAllocator string_allocator_; 2035 HeapStringAllocator string_allocator_;
2036 StringStream trace_; 2036 StringStream trace_;
2037 int indent_; 2037 int indent_;
2038 }; 2038 };
2039 2039
2040 2040
2041 } } // namespace v8::internal 2041 } } // namespace v8::internal
2042 2042
2043 #endif // V8_HYDROGEN_H_ 2043 #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