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

Side by Side Diff: src/hydrogen.h

Issue 15094018: Create AllocationSite objects, pointed to by AllocationSiteInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Some cleanup 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
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 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after
1337 void BuildCopyElements(HValue* context, 1337 void BuildCopyElements(HValue* context,
1338 HValue* from_elements, 1338 HValue* from_elements,
1339 ElementsKind from_elements_kind, 1339 ElementsKind from_elements_kind,
1340 HValue* to_elements, 1340 HValue* to_elements,
1341 ElementsKind to_elements_kind, 1341 ElementsKind to_elements_kind,
1342 HValue* length, 1342 HValue* length,
1343 HValue* capacity); 1343 HValue* capacity);
1344 1344
1345 HValue* BuildCloneShallowArray(HContext* context, 1345 HValue* BuildCloneShallowArray(HContext* context,
1346 HValue* boilerplate, 1346 HValue* boilerplate,
1347 HValue* allocation_site,
1347 AllocationSiteMode mode, 1348 AllocationSiteMode mode,
1348 ElementsKind kind, 1349 ElementsKind kind,
1349 int length); 1350 int length);
1350 1351
1351 void BuildCompareNil( 1352 void BuildCompareNil(
1352 HValue* value, 1353 HValue* value,
1353 EqualityKind kind, 1354 EqualityKind kind,
1354 CompareNilICStub::Types types, 1355 CompareNilICStub::Types types,
1355 Handle<Map> map, 1356 Handle<Map> map,
1356 int position, 1357 int position,
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1789 HValue* key, 1790 HValue* key,
1790 HValue* value); 1791 HValue* value);
1791 1792
1792 HValue* BuildContextChainWalk(Variable* var); 1793 HValue* BuildContextChainWalk(Variable* var);
1793 1794
1794 HInstruction* BuildThisFunction(); 1795 HInstruction* BuildThisFunction();
1795 1796
1796 HInstruction* BuildFastLiteral(HValue* context, 1797 HInstruction* BuildFastLiteral(HValue* context,
1797 Handle<JSObject> boilerplate_object, 1798 Handle<JSObject> boilerplate_object,
1798 Handle<JSObject> original_boilerplate_object, 1799 Handle<JSObject> original_boilerplate_object,
1800 Handle<Object> allocation_site,
1799 int data_size, 1801 int data_size,
1800 int pointer_size, 1802 int pointer_size,
1801 AllocationSiteMode mode); 1803 AllocationSiteMode mode);
1802 1804
1803 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, 1805 void BuildEmitDeepCopy(Handle<JSObject> boilerplate_object,
1804 Handle<JSObject> object, 1806 Handle<JSObject> original_boilerplate_object,
1807 Handle<Object> allocation_site,
1805 HInstruction* result, 1808 HInstruction* result,
1806 int* offset, 1809 int* offset,
1807 AllocationSiteMode mode); 1810 AllocationSiteMode mode);
1808 1811
1809 MUST_USE_RESULT HValue* BuildEmitObjectHeader( 1812 MUST_USE_RESULT HValue* BuildEmitObjectHeader(
1810 Handle<JSObject> boilerplat_object, 1813 Handle<JSObject> boilerplat_object,
1811 HInstruction* target, 1814 HInstruction* target,
1812 int object_offset, 1815 int object_offset,
1813 int elements_offset, 1816 int elements_offset,
1814 int elements_size); 1817 int elements_size);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 EmbeddedVector<char, 64> filename_; 2024 EmbeddedVector<char, 64> filename_;
2022 HeapStringAllocator string_allocator_; 2025 HeapStringAllocator string_allocator_;
2023 StringStream trace_; 2026 StringStream trace_;
2024 int indent_; 2027 int indent_;
2025 }; 2028 };
2026 2029
2027 2030
2028 } } // namespace v8::internal 2031 } } // namespace v8::internal
2029 2032
2030 #endif // V8_HYDROGEN_H_ 2033 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698