| 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 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 HValue* right, | 1365 HValue* right, |
| 1366 HAllocationMode allocation_mode); | 1366 HAllocationMode allocation_mode); |
| 1367 // Copies characters from one sequential string to another. | 1367 // Copies characters from one sequential string to another. |
| 1368 void BuildCopySeqStringChars(HValue* src, | 1368 void BuildCopySeqStringChars(HValue* src, |
| 1369 HValue* src_offset, | 1369 HValue* src_offset, |
| 1370 String::Encoding src_encoding, | 1370 String::Encoding src_encoding, |
| 1371 HValue* dst, | 1371 HValue* dst, |
| 1372 HValue* dst_offset, | 1372 HValue* dst_offset, |
| 1373 String::Encoding dst_encoding, | 1373 String::Encoding dst_encoding, |
| 1374 HValue* length); | 1374 HValue* length); |
| 1375 | |
| 1376 // Align an object size to object alignment boundary | |
| 1377 HValue* BuildObjectSizeAlignment(HValue* unaligned_size, int header_size); | |
| 1378 | |
| 1379 // Both operands are non-empty strings. | 1375 // Both operands are non-empty strings. |
| 1380 HValue* BuildUncheckedStringAdd(HValue* left, | 1376 HValue* BuildUncheckedStringAdd(HValue* left, |
| 1381 HValue* right, | 1377 HValue* right, |
| 1382 HAllocationMode allocation_mode); | 1378 HAllocationMode allocation_mode); |
| 1383 // Add two strings using allocation mode, validating type feedback. | 1379 // Add two strings using allocation mode, validating type feedback. |
| 1384 HValue* BuildStringAdd(HValue* left, | 1380 HValue* BuildStringAdd(HValue* left, |
| 1385 HValue* right, | 1381 HValue* right, |
| 1386 HAllocationMode allocation_mode); | 1382 HAllocationMode allocation_mode); |
| 1387 | 1383 |
| 1388 HInstruction* BuildUncheckedMonomorphicElementAccess( | 1384 HInstruction* BuildUncheckedMonomorphicElementAccess( |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 void HandlePropertyAssignment(Assignment* expr); | 2314 void HandlePropertyAssignment(Assignment* expr); |
| 2319 void HandleCompoundAssignment(Assignment* expr); | 2315 void HandleCompoundAssignment(Assignment* expr); |
| 2320 void HandlePolymorphicNamedFieldAccess(PropertyAccessType access_type, | 2316 void HandlePolymorphicNamedFieldAccess(PropertyAccessType access_type, |
| 2321 BailoutId ast_id, | 2317 BailoutId ast_id, |
| 2322 BailoutId return_id, | 2318 BailoutId return_id, |
| 2323 HValue* object, | 2319 HValue* object, |
| 2324 HValue* value, | 2320 HValue* value, |
| 2325 SmallMapList* types, | 2321 SmallMapList* types, |
| 2326 Handle<String> name); | 2322 Handle<String> name); |
| 2327 | 2323 |
| 2328 HValue* BuildAllocateExternalElements( | |
| 2329 ExternalArrayType array_type, | |
| 2330 bool is_zero_byte_offset, | |
| 2331 HValue* buffer, HValue* byte_offset, HValue* length); | |
| 2332 HValue* BuildAllocateFixedTypedArray( | |
| 2333 ExternalArrayType array_type, int element_size, | |
| 2334 ElementsKind fixed_elements_kind, | |
| 2335 HValue* byte_length, HValue* length); | |
| 2336 | |
| 2337 bool IsCallNewArrayInlineable(CallNew* expr); | 2324 bool IsCallNewArrayInlineable(CallNew* expr); |
| 2338 void BuildInlinedCallNewArray(CallNew* expr); | 2325 void BuildInlinedCallNewArray(CallNew* expr); |
| 2339 | 2326 |
| 2340 class PropertyAccessInfo { | 2327 class PropertyAccessInfo { |
| 2341 public: | 2328 public: |
| 2342 PropertyAccessInfo(HOptimizedGraphBuilder* builder, | 2329 PropertyAccessInfo(HOptimizedGraphBuilder* builder, |
| 2343 PropertyAccessType access_type, | 2330 PropertyAccessType access_type, |
| 2344 Type* type, | 2331 Type* type, |
| 2345 Handle<String> name) | 2332 Handle<String> name) |
| 2346 : lookup_(builder->isolate()), | 2333 : lookup_(builder->isolate()), |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2797 } | 2784 } |
| 2798 | 2785 |
| 2799 private: | 2786 private: |
| 2800 HGraphBuilder* builder_; | 2787 HGraphBuilder* builder_; |
| 2801 }; | 2788 }; |
| 2802 | 2789 |
| 2803 | 2790 |
| 2804 } } // namespace v8::internal | 2791 } } // namespace v8::internal |
| 2805 | 2792 |
| 2806 #endif // V8_HYDROGEN_H_ | 2793 #endif // V8_HYDROGEN_H_ |
| OLD | NEW |