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/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 Register scratch, Label* gc_required, AllocationFlags flags); | 622 Register scratch, Label* gc_required, AllocationFlags flags); |
623 | 623 |
624 void Allocate(int header_size, ScaleFactor element_size, | 624 void Allocate(int header_size, ScaleFactor element_size, |
625 Register element_count, RegisterValueType element_count_type, | 625 Register element_count, RegisterValueType element_count_type, |
626 Register result, Register result_end, Register scratch, | 626 Register result, Register result_end, Register scratch, |
627 Label* gc_required, AllocationFlags flags); | 627 Label* gc_required, AllocationFlags flags); |
628 | 628 |
629 void Allocate(Register object_size, Register result, Register result_end, | 629 void Allocate(Register object_size, Register result, Register result_end, |
630 Register scratch, Label* gc_required, AllocationFlags flags); | 630 Register scratch, Label* gc_required, AllocationFlags flags); |
631 | 631 |
| 632 void FastAllocate(int object_size, Register result, Register result_end, |
| 633 AllocationFlags flags); |
| 634 void FastAllocate(Register object_size, Register result, Register result_end, |
| 635 AllocationFlags flags); |
| 636 |
632 // Allocate a heap number in new space with undefined value. The | 637 // Allocate a heap number in new space with undefined value. The |
633 // register scratch2 can be passed as no_reg; the others must be | 638 // register scratch2 can be passed as no_reg; the others must be |
634 // valid registers. Returns tagged pointer in result register, or | 639 // valid registers. Returns tagged pointer in result register, or |
635 // jumps to gc_required if new space is full. | 640 // jumps to gc_required if new space is full. |
636 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, | 641 void AllocateHeapNumber(Register result, Register scratch1, Register scratch2, |
637 Label* gc_required, MutableMode mode = IMMUTABLE); | 642 Label* gc_required, MutableMode mode = IMMUTABLE); |
638 | 643 |
639 // Allocate a sequential string. All the header fields of the string object | 644 // Allocate a sequential string. All the header fields of the string object |
640 // are initialized. | 645 // are initialized. |
641 void AllocateTwoByteString(Register result, Register length, | 646 void AllocateTwoByteString(Register result, Register length, |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 } \ | 1050 } \ |
1046 masm-> | 1051 masm-> |
1047 #else | 1052 #else |
1048 #define ACCESS_MASM(masm) masm-> | 1053 #define ACCESS_MASM(masm) masm-> |
1049 #endif | 1054 #endif |
1050 | 1055 |
1051 } // namespace internal | 1056 } // namespace internal |
1052 } // namespace v8 | 1057 } // namespace v8 |
1053 | 1058 |
1054 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1059 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
OLD | NEW |