OLD | NEW |
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 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 void BuildCopyElements(HValue* context, | 1390 void BuildCopyElements(HValue* context, |
1391 HValue* from_elements, | 1391 HValue* from_elements, |
1392 ElementsKind from_elements_kind, | 1392 ElementsKind from_elements_kind, |
1393 HValue* to_elements, | 1393 HValue* to_elements, |
1394 ElementsKind to_elements_kind, | 1394 ElementsKind to_elements_kind, |
1395 HValue* length, | 1395 HValue* length, |
1396 HValue* capacity); | 1396 HValue* capacity); |
1397 | 1397 |
1398 HValue* BuildCloneShallowArray(HContext* context, | 1398 HValue* BuildCloneShallowArray(HContext* context, |
1399 HValue* boilerplate, | 1399 HValue* boilerplate, |
| 1400 HValue* allocation_site, |
1400 AllocationSiteMode mode, | 1401 AllocationSiteMode mode, |
1401 ElementsKind kind, | 1402 ElementsKind kind, |
1402 int length); | 1403 int length); |
1403 | 1404 |
1404 HInstruction* BuildUnaryMathOp( | 1405 HInstruction* BuildUnaryMathOp( |
1405 HValue* value, Handle<Type> type, Token::Value token); | 1406 HValue* value, Handle<Type> type, Token::Value token); |
1406 | 1407 |
1407 void BuildCompareNil( | 1408 void BuildCompareNil( |
1408 HValue* value, | 1409 HValue* value, |
1409 Handle<Type> type, | 1410 Handle<Type> type, |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1851 HValue* key, | 1852 HValue* key, |
1852 HValue* value); | 1853 HValue* value); |
1853 | 1854 |
1854 HValue* BuildContextChainWalk(Variable* var); | 1855 HValue* BuildContextChainWalk(Variable* var); |
1855 | 1856 |
1856 HInstruction* BuildThisFunction(); | 1857 HInstruction* BuildThisFunction(); |
1857 | 1858 |
1858 HInstruction* BuildFastLiteral(HValue* context, | 1859 HInstruction* BuildFastLiteral(HValue* context, |
1859 Handle<JSObject> boilerplate_object, | 1860 Handle<JSObject> boilerplate_object, |
1860 Handle<JSObject> original_boilerplate_object, | 1861 Handle<JSObject> original_boilerplate_object, |
| 1862 Handle<Object> allocation_site, |
1861 int data_size, | 1863 int data_size, |
1862 int pointer_size, | 1864 int pointer_size, |
1863 AllocationSiteMode mode); | 1865 AllocationSiteMode mode); |
1864 | 1866 |
1865 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, | 1867 void BuildEmitDeepCopy(Handle<JSObject> boilerplat_object, |
1866 Handle<JSObject> object, | 1868 Handle<JSObject> object, |
| 1869 Handle<Object> allocation_site, |
1867 HInstruction* target, | 1870 HInstruction* target, |
1868 int* offset, | 1871 int* offset, |
1869 HInstruction* data_target, | 1872 HInstruction* data_target, |
1870 int* data_offset, | 1873 int* data_offset, |
1871 AllocationSiteMode mode); | 1874 AllocationSiteMode mode); |
1872 | 1875 |
1873 MUST_USE_RESULT HValue* BuildEmitObjectHeader( | 1876 MUST_USE_RESULT HValue* BuildEmitObjectHeader( |
1874 Handle<JSObject> boilerplat_object, | 1877 Handle<JSObject> boilerplat_object, |
1875 HInstruction* target, | 1878 HInstruction* target, |
1876 HInstruction* data_target, | 1879 HInstruction* data_target, |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2089 EmbeddedVector<char, 64> filename_; | 2092 EmbeddedVector<char, 64> filename_; |
2090 HeapStringAllocator string_allocator_; | 2093 HeapStringAllocator string_allocator_; |
2091 StringStream trace_; | 2094 StringStream trace_; |
2092 int indent_; | 2095 int indent_; |
2093 }; | 2096 }; |
2094 | 2097 |
2095 | 2098 |
2096 } } // namespace v8::internal | 2099 } } // namespace v8::internal |
2097 | 2100 |
2098 #endif // V8_HYDROGEN_H_ | 2101 #endif // V8_HYDROGEN_H_ |
OLD | NEW |