| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 // initialized. | 439 // initialized. |
| 440 void AllocateConsString(Register result, | 440 void AllocateConsString(Register result, |
| 441 Register scratch1, | 441 Register scratch1, |
| 442 Register scratch2, | 442 Register scratch2, |
| 443 Label* gc_required); | 443 Label* gc_required); |
| 444 void AllocateAsciiConsString(Register result, | 444 void AllocateAsciiConsString(Register result, |
| 445 Register scratch1, | 445 Register scratch1, |
| 446 Register scratch2, | 446 Register scratch2, |
| 447 Label* gc_required); | 447 Label* gc_required); |
| 448 | 448 |
| 449 // Allocate a raw sliced string object. Only the map field of the result is |
| 450 // initialized. |
| 451 void AllocateSlicedString(Register result, |
| 452 Register scratch1, |
| 453 Register scratch2, |
| 454 Label* gc_required); |
| 455 void AllocateAsciiSlicedString(Register result, |
| 456 Register scratch1, |
| 457 Register scratch2, |
| 458 Label* gc_required); |
| 459 |
| 449 // Copy memory, byte-by-byte, from source to destination. Not optimized for | 460 // Copy memory, byte-by-byte, from source to destination. Not optimized for |
| 450 // long or aligned copies. | 461 // long or aligned copies. |
| 451 // The contents of index and scratch are destroyed. | 462 // The contents of index and scratch are destroyed. |
| 452 void CopyBytes(Register source, | 463 void CopyBytes(Register source, |
| 453 Register destination, | 464 Register destination, |
| 454 Register length, | 465 Register length, |
| 455 Register scratch); | 466 Register scratch); |
| 456 | 467 |
| 457 // --------------------------------------------------------------------------- | 468 // --------------------------------------------------------------------------- |
| 458 // Support functions. | 469 // Support functions. |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 } \ | 810 } \ |
| 800 masm-> | 811 masm-> |
| 801 #else | 812 #else |
| 802 #define ACCESS_MASM(masm) masm-> | 813 #define ACCESS_MASM(masm) masm-> |
| 803 #endif | 814 #endif |
| 804 | 815 |
| 805 | 816 |
| 806 } } // namespace v8::internal | 817 } } // namespace v8::internal |
| 807 | 818 |
| 808 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 819 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |