| 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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 Label* gc_required); | 809 Label* gc_required); |
| 810 | 810 |
| 811 // Allocates a heap number or jumps to the gc_required label if the young | 811 // Allocates a heap number or jumps to the gc_required label if the young |
| 812 // space is full and a scavenge is needed. All registers are clobbered also | 812 // space is full and a scavenge is needed. All registers are clobbered also |
| 813 // when control continues at the gc_required label. | 813 // when control continues at the gc_required label. |
| 814 void AllocateHeapNumber(Register result, | 814 void AllocateHeapNumber(Register result, |
| 815 Register scratch1, | 815 Register scratch1, |
| 816 Register scratch2, | 816 Register scratch2, |
| 817 Register heap_number_map, | 817 Register heap_number_map, |
| 818 Label* gc_required, | 818 Label* gc_required, |
| 819 TaggingMode tagging_mode = TAG_RESULT, | |
| 820 MutableMode mode = IMMUTABLE); | 819 MutableMode mode = IMMUTABLE); |
| 821 void AllocateHeapNumberWithValue(Register result, | 820 void AllocateHeapNumberWithValue(Register result, |
| 822 DwVfpRegister value, | 821 DwVfpRegister value, |
| 823 Register scratch1, | 822 Register scratch1, |
| 824 Register scratch2, | 823 Register scratch2, |
| 825 Register heap_number_map, | 824 Register heap_number_map, |
| 826 Label* gc_required); | 825 Label* gc_required); |
| 827 | 826 |
| 828 // Allocate and initialize a JSValue wrapper with the specified {constructor} | 827 // Allocate and initialize a JSValue wrapper with the specified {constructor} |
| 829 // and {value}. | 828 // and {value}. |
| (...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1569 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1571 #else | 1570 #else |
| 1572 #define ACCESS_MASM(masm) masm-> | 1571 #define ACCESS_MASM(masm) masm-> |
| 1573 #endif | 1572 #endif |
| 1574 | 1573 |
| 1575 | 1574 |
| 1576 } // namespace internal | 1575 } // namespace internal |
| 1577 } // namespace v8 | 1576 } // namespace v8 |
| 1578 | 1577 |
| 1579 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1578 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |