| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/frames.h" | 9 #include "src/frames.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 // un-done. | 610 // un-done. |
| 611 void UndoAllocationInNewSpace(Register object); | 611 void UndoAllocationInNewSpace(Register object); |
| 612 | 612 |
| 613 // Allocate a heap number in new space with undefined value. The | 613 // Allocate a heap number in new space with undefined value. The |
| 614 // register scratch2 can be passed as no_reg; the others must be | 614 // register scratch2 can be passed as no_reg; the others must be |
| 615 // valid registers. Returns tagged pointer in result register, or | 615 // valid registers. Returns tagged pointer in result register, or |
| 616 // jumps to gc_required if new space is full. | 616 // jumps to gc_required if new space is full. |
| 617 void AllocateHeapNumber(Register result, | 617 void AllocateHeapNumber(Register result, |
| 618 Register scratch1, | 618 Register scratch1, |
| 619 Register scratch2, | 619 Register scratch2, |
| 620 Label* gc_required); | 620 Label* gc_required, |
| 621 MutableMode mode = IMMUTABLE); |
| 621 | 622 |
| 622 // Allocate a sequential string. All the header fields of the string object | 623 // Allocate a sequential string. All the header fields of the string object |
| 623 // are initialized. | 624 // are initialized. |
| 624 void AllocateTwoByteString(Register result, | 625 void AllocateTwoByteString(Register result, |
| 625 Register length, | 626 Register length, |
| 626 Register scratch1, | 627 Register scratch1, |
| 627 Register scratch2, | 628 Register scratch2, |
| 628 Register scratch3, | 629 Register scratch3, |
| 629 Label* gc_required); | 630 Label* gc_required); |
| 630 void AllocateAsciiString(Register result, | 631 void AllocateAsciiString(Register result, |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 } \ | 1082 } \ |
| 1082 masm-> | 1083 masm-> |
| 1083 #else | 1084 #else |
| 1084 #define ACCESS_MASM(masm) masm-> | 1085 #define ACCESS_MASM(masm) masm-> |
| 1085 #endif | 1086 #endif |
| 1086 | 1087 |
| 1087 | 1088 |
| 1088 } } // namespace v8::internal | 1089 } } // namespace v8::internal |
| 1089 | 1090 |
| 1090 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1091 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |