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

Side by Side Diff: src/hydrogen.h

Issue 18918002: Turn polymorphic calls using the same prototype monomorphic. (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 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 BailoutId assignment_id, 1751 BailoutId assignment_id,
1752 HValue* object, 1752 HValue* object,
1753 HValue* value, 1753 HValue* value,
1754 HValue* result, 1754 HValue* result,
1755 SmallMapList* types, 1755 SmallMapList* types,
1756 Handle<String> name); 1756 Handle<String> name);
1757 void HandlePolymorphicCallNamed(Call* expr, 1757 void HandlePolymorphicCallNamed(Call* expr,
1758 HValue* receiver, 1758 HValue* receiver,
1759 SmallMapList* types, 1759 SmallMapList* types,
1760 Handle<String> name); 1760 Handle<String> name);
1761 bool TryCallPolymorphicAsMonomorphic(Call* expr,
1762 HValue* receiver,
1763 SmallMapList* types,
1764 Handle<String> name);
1761 void HandleLiteralCompareTypeof(CompareOperation* expr, 1765 void HandleLiteralCompareTypeof(CompareOperation* expr,
1762 HTypeof* typeof_expr, 1766 HTypeof* typeof_expr,
1763 Handle<String> check); 1767 Handle<String> check);
1764 void HandleLiteralCompareNil(CompareOperation* expr, 1768 void HandleLiteralCompareNil(CompareOperation* expr,
1765 HValue* value, 1769 HValue* value,
1766 NilValue nil); 1770 NilValue nil);
1767 1771
1768 HInstruction* BuildStringCharCodeAt(HValue* context, 1772 HInstruction* BuildStringCharCodeAt(HValue* context,
1769 HValue* string, 1773 HValue* string,
1770 HValue* index); 1774 HValue* index);
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
2095 EmbeddedVector<char, 64> filename_; 2099 EmbeddedVector<char, 64> filename_;
2096 HeapStringAllocator string_allocator_; 2100 HeapStringAllocator string_allocator_;
2097 StringStream trace_; 2101 StringStream trace_;
2098 int indent_; 2102 int indent_;
2099 }; 2103 };
2100 2104
2101 2105
2102 } } // namespace v8::internal 2106 } } // namespace v8::internal
2103 2107
2104 #endif // V8_HYDROGEN_H_ 2108 #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