Chromium Code Reviews| 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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 638 | 638 |
| 639 // Allocate a heap number in new space with undefined value. The | 639 // Allocate a heap number in new space with undefined value. The |
| 640 // register scratch2 can be passed as no_reg; the others must be | 640 // register scratch2 can be passed as no_reg; the others must be |
| 641 // valid registers. Returns tagged pointer in result register, or | 641 // valid registers. Returns tagged pointer in result register, or |
| 642 // jumps to gc_required if new space is full. | 642 // jumps to gc_required if new space is full. |
| 643 void AllocateHeapNumber(Register result, | 643 void AllocateHeapNumber(Register result, |
| 644 Register scratch1, | 644 Register scratch1, |
| 645 Register scratch2, | 645 Register scratch2, |
| 646 Label* gc_required); | 646 Label* gc_required); |
| 647 | 647 |
| 648 // Allocate a mutable heap number in new space with undefined value. The | |
| 649 // register scratch2 can be passed as no_reg; the others must be valid | |
| 650 // registers. Returns tagged pointer in result register, or jumps to | |
| 651 // gc_required if new space is full. | |
| 652 void AllocateMutableHeapNumber(Register result, | |
|
Igor Sheludko
2014/03/27 11:30:16
What about other platforms we support?
| |
| 653 Register scratch1, | |
| 654 Register scratch2, | |
| 655 Label* gc_required); | |
| 656 | |
| 648 // Allocate a sequential string. All the header fields of the string object | 657 // Allocate a sequential string. All the header fields of the string object |
| 649 // are initialized. | 658 // are initialized. |
| 650 void AllocateTwoByteString(Register result, | 659 void AllocateTwoByteString(Register result, |
| 651 Register length, | 660 Register length, |
| 652 Register scratch1, | 661 Register scratch1, |
| 653 Register scratch2, | 662 Register scratch2, |
| 654 Register scratch3, | 663 Register scratch3, |
| 655 Label* gc_required); | 664 Label* gc_required); |
| 656 void AllocateAsciiString(Register result, | 665 void AllocateAsciiString(Register result, |
| 657 Register length, | 666 Register length, |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1126 } \ | 1135 } \ |
| 1127 masm-> | 1136 masm-> |
| 1128 #else | 1137 #else |
| 1129 #define ACCESS_MASM(masm) masm-> | 1138 #define ACCESS_MASM(masm) masm-> |
| 1130 #endif | 1139 #endif |
| 1131 | 1140 |
| 1132 | 1141 |
| 1133 } } // namespace v8::internal | 1142 } } // namespace v8::internal |
| 1134 | 1143 |
| 1135 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 1144 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |