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

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: Platform ports and perf bugfix 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
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 1393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1404 void BuildCopyElements(HValue* context, 1404 void BuildCopyElements(HValue* context,
1405 HValue* from_elements, 1405 HValue* from_elements,
1406 ElementsKind from_elements_kind, 1406 ElementsKind from_elements_kind,
1407 HValue* to_elements, 1407 HValue* to_elements,
1408 ElementsKind to_elements_kind, 1408 ElementsKind to_elements_kind,
1409 HValue* length, 1409 HValue* length,
1410 HValue* capacity); 1410 HValue* capacity);
1411 1411
1412 HValue* BuildCloneShallowArray(HContext* context, 1412 HValue* BuildCloneShallowArray(HContext* context,
1413 HValue* boilerplate, 1413 HValue* boilerplate,
1414 HValue* allocation_site,
1414 AllocationSiteMode mode, 1415 AllocationSiteMode mode,
1415 ElementsKind kind, 1416 ElementsKind kind,
1416 int length); 1417 int length);
1417 1418
1418 void BuildCompareNil( 1419 void BuildCompareNil(
1419 HValue* value, 1420 HValue* value,
1420 Handle<Type> type, 1421 Handle<Type> type,
1421 int position, 1422 int position,
1422 HIfContinuation* continuation); 1423 HIfContinuation* continuation);
1423 1424
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 HValue* key, 1871 HValue* key,
1871 HValue* value); 1872 HValue* value);
1872 1873
1873 HValue* BuildContextChainWalk(Variable* var); 1874 HValue* BuildContextChainWalk(Variable* var);
1874 1875
1875 HInstruction* BuildThisFunction(); 1876 HInstruction* BuildThisFunction();
1876 1877
1877 HInstruction* BuildFastLiteral(HValue* context, 1878 HInstruction* BuildFastLiteral(HValue* context,
1878 Handle<JSObject> boilerplate_object, 1879 Handle<JSObject> boilerplate_object,
1879 Handle<JSObject> original_boilerplate_object, 1880 Handle<JSObject> original_boilerplate_object,
1881 Handle<Object> allocation_site,
1880 int data_size, 1882 int data_size,
1881 int pointer_size, 1883 int pointer_size,
1882 AllocationSiteMode mode); 1884 AllocationSiteMode mode);
1883 1885
1884 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, 1886 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object,
1885 Handle<JSObject> object, 1887 Handle<JSObject> object,
1888 Handle<Object> allocation_site,
1886 HInstruction* target, 1889 HInstruction* target,
1887 int* offset, 1890 int* offset,
1888 HInstruction* data_target, 1891 HInstruction* data_target,
1889 int* data_offset, 1892 int* data_offset,
1890 AllocationSiteMode mode); 1893 AllocationSiteMode mode);
1891 1894
1892 MUST_USE_RESULT HValue* BuildEmitObjectHeader( 1895 MUST_USE_RESULT HValue* BuildEmitObjectHeader(
1893 Handle<JSObject> boilerplat_object, 1896 Handle<JSObject> boilerplat_object,
1894 HInstruction* target, 1897 HInstruction* target,
1895 HInstruction* data_target, 1898 HInstruction* data_target,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2105 EmbeddedVector<char, 64> filename_; 2108 EmbeddedVector<char, 64> filename_;
2106 HeapStringAllocator string_allocator_; 2109 HeapStringAllocator string_allocator_;
2107 StringStream trace_; 2110 StringStream trace_;
2108 int indent_; 2111 int indent_;
2109 }; 2112 };
2110 2113
2111 2114
2112 } } // namespace v8::internal 2115 } } // namespace v8::internal
2113 2116
2114 #endif // V8_HYDROGEN_H_ 2117 #endif // V8_HYDROGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698