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

Side by Side Diff: src/hydrogen.h

Issue 148883002: Synchronize with r15594. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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 | « src/heap-snapshot-generator.cc ('k') | 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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 HObjectAccess access, 1108 HObjectAccess access,
1109 HValue *val, 1109 HValue *val,
1110 Representation representation = Representation::Tagged()); 1110 Representation representation = Representation::Tagged());
1111 1111
1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>); 1112 HStoreNamedField* AddStoreMapConstant(HValue *object, Handle<Map>);
1113 1113
1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL); 1114 HLoadNamedField* AddLoadElements(HValue *object, HValue *typecheck = NULL);
1115 1115
1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object); 1116 HLoadNamedField* AddLoadFixedArrayLength(HValue *object);
1117 1117
1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HContext* context); 1118 HValue* AddLoadJSBuiltin(Builtins::JavaScript builtin, HValue* context);
1119 1119
1120 enum SoftDeoptimizeMode { 1120 enum SoftDeoptimizeMode {
1121 MUST_EMIT_SOFT_DEOPT, 1121 MUST_EMIT_SOFT_DEOPT,
1122 CAN_OMIT_SOFT_DEOPT 1122 CAN_OMIT_SOFT_DEOPT
1123 }; 1123 };
1124 1124
1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT); 1125 void AddSoftDeoptimize(SoftDeoptimizeMode mode = CAN_OMIT_SOFT_DEOPT);
1126 1126
1127 class IfBuilder { 1127 class IfBuilder {
1128 public: 1128 public:
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 // A pointer to the Fixed(Double)Array is returned. 1371 // A pointer to the Fixed(Double)Array is returned.
1372 HInnerAllocatedObject* BuildJSArrayHeader(HValue* array, 1372 HInnerAllocatedObject* BuildJSArrayHeader(HValue* array,
1373 HValue* array_map, 1373 HValue* array_map,
1374 AllocationSiteMode mode, 1374 AllocationSiteMode mode,
1375 HValue* allocation_site_payload, 1375 HValue* allocation_site_payload,
1376 HValue* length_field); 1376 HValue* length_field);
1377 1377
1378 HValue* BuildGrowElementsCapacity(HValue* object, 1378 HValue* BuildGrowElementsCapacity(HValue* object,
1379 HValue* elements, 1379 HValue* elements,
1380 ElementsKind kind, 1380 ElementsKind kind,
1381 ElementsKind new_kind,
1381 HValue* length, 1382 HValue* length,
1382 HValue* new_capacity); 1383 HValue* new_capacity);
1383 1384
1384 void BuildFillElementsWithHole(HValue* context, 1385 void BuildFillElementsWithHole(HValue* context,
1385 HValue* elements, 1386 HValue* elements,
1386 ElementsKind elements_kind, 1387 ElementsKind elements_kind,
1387 HValue* from, 1388 HValue* from,
1388 HValue* to); 1389 HValue* to);
1389 1390
1390 void BuildCopyElements(HValue* context, 1391 void BuildCopyElements(HValue* context,
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1737 Handle<String> name); 1738 Handle<String> name);
1738 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr, 1739 HInstruction* TryLoadPolymorphicAsMonomorphic(Property* expr,
1739 HValue* object, 1740 HValue* object,
1740 SmallMapList* types, 1741 SmallMapList* types,
1741 Handle<String> name); 1742 Handle<String> name);
1742 void HandlePolymorphicStoreNamedField(BailoutId id, 1743 void HandlePolymorphicStoreNamedField(BailoutId id,
1743 int position, 1744 int position,
1744 BailoutId assignment_id, 1745 BailoutId assignment_id,
1745 HValue* object, 1746 HValue* object,
1746 HValue* value, 1747 HValue* value,
1748 HValue* result,
1747 SmallMapList* types, 1749 SmallMapList* types,
1748 Handle<String> name); 1750 Handle<String> name);
1749 bool TryStorePolymorphicAsMonomorphic(int position, 1751 bool TryStorePolymorphicAsMonomorphic(int position,
1750 BailoutId assignment_id, 1752 BailoutId assignment_id,
1751 HValue* object, 1753 HValue* object,
1752 HValue* value, 1754 HValue* value,
1755 HValue* result,
1753 SmallMapList* types, 1756 SmallMapList* types,
1754 Handle<String> name); 1757 Handle<String> name);
1755 void HandlePolymorphicCallNamed(Call* expr, 1758 void HandlePolymorphicCallNamed(Call* expr,
1756 HValue* receiver, 1759 HValue* receiver,
1757 SmallMapList* types, 1760 SmallMapList* types,
1758 Handle<String> name); 1761 Handle<String> name);
1762 bool TryCallPolymorphicAsMonomorphic(Call* expr,
1763 HValue* receiver,
1764 SmallMapList* types,
1765 Handle<String> name);
1759 void HandleLiteralCompareTypeof(CompareOperation* expr, 1766 void HandleLiteralCompareTypeof(CompareOperation* expr,
1760 HTypeof* typeof_expr, 1767 HTypeof* typeof_expr,
1761 Handle<String> check); 1768 Handle<String> check);
1762 void HandleLiteralCompareNil(CompareOperation* expr, 1769 void HandleLiteralCompareNil(CompareOperation* expr,
1763 HValue* value, 1770 HValue* value,
1764 NilValue nil); 1771 NilValue nil);
1765 1772
1766 HInstruction* BuildStringCharCodeAt(HValue* context, 1773 HInstruction* BuildStringCharCodeAt(HValue* context,
1767 HValue* string, 1774 HValue* string,
1768 HValue* index); 1775 HValue* index);
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 1829
1823 void AddCheckMapsWithTransitions(HValue* object, 1830 void AddCheckMapsWithTransitions(HValue* object,
1824 Handle<Map> map); 1831 Handle<Map> map);
1825 1832
1826 void BuildStoreNamed(Expression* expression, 1833 void BuildStoreNamed(Expression* expression,
1827 BailoutId id, 1834 BailoutId id,
1828 int position, 1835 int position,
1829 BailoutId assignment_id, 1836 BailoutId assignment_id,
1830 Property* prop, 1837 Property* prop,
1831 HValue* object, 1838 HValue* object,
1832 HValue* value); 1839 HValue* store_value,
1840 HValue* result_value = NULL);
1833 1841
1834 HInstruction* BuildStoreNamedField(HValue* object, 1842 HInstruction* BuildStoreNamedField(HValue* object,
1835 Handle<String> name, 1843 Handle<String> name,
1836 HValue* value, 1844 HValue* value,
1837 Handle<Map> map, 1845 Handle<Map> map,
1838 LookupResult* lookup); 1846 LookupResult* lookup);
1839 HInstruction* BuildStoreNamedGeneric(HValue* object, 1847 HInstruction* BuildStoreNamedGeneric(HValue* object,
1840 Handle<String> name, 1848 Handle<String> name,
1841 HValue* value); 1849 HValue* value);
1842 HInstruction* BuildCallSetter(HValue* object, 1850 HInstruction* BuildCallSetter(HValue* object,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
2092 EmbeddedVector<char, 64> filename_; 2100 EmbeddedVector<char, 64> filename_;
2093 HeapStringAllocator string_allocator_; 2101 HeapStringAllocator string_allocator_;
2094 StringStream trace_; 2102 StringStream trace_;
2095 int indent_; 2103 int indent_;
2096 }; 2104 };
2097 2105
2098 2106
2099 } } // namespace v8::internal 2107 } } // namespace v8::internal
2100 2108
2101 #endif // V8_HYDROGEN_H_ 2109 #endif // V8_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698