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/frames.h" | 9 #include "src/frames.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
771 Label* gc_required); | 771 Label* gc_required); |
772 | 772 |
773 // Allocates a heap number or jumps to the gc_required label if the young | 773 // Allocates a heap number or jumps to the gc_required label if the young |
774 // space is full and a scavenge is needed. All registers are clobbered also | 774 // space is full and a scavenge is needed. All registers are clobbered also |
775 // when control continues at the gc_required label. | 775 // when control continues at the gc_required label. |
776 void AllocateHeapNumber(Register result, | 776 void AllocateHeapNumber(Register result, |
777 Register scratch1, | 777 Register scratch1, |
778 Register scratch2, | 778 Register scratch2, |
779 Register heap_number_map, | 779 Register heap_number_map, |
780 Label* gc_required, | 780 Label* gc_required, |
781 TaggingMode tagging_mode = TAG_RESULT); | 781 TaggingMode tagging_mode = TAG_RESULT, |
| 782 MutableMode mode = IMMUTABLE); |
782 void AllocateHeapNumberWithValue(Register result, | 783 void AllocateHeapNumberWithValue(Register result, |
783 DwVfpRegister value, | 784 DwVfpRegister value, |
784 Register scratch1, | 785 Register scratch1, |
785 Register scratch2, | 786 Register scratch2, |
786 Register heap_number_map, | 787 Register heap_number_map, |
787 Label* gc_required); | 788 Label* gc_required); |
788 | 789 |
789 // Copies a fixed number of fields of heap objects from src to dst. | 790 // Copies a fixed number of fields of heap objects from src to dst. |
790 void CopyFields(Register dst, | 791 void CopyFields(Register dst, |
791 Register src, | 792 Register src, |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1615 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1616 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1616 #else | 1617 #else |
1617 #define ACCESS_MASM(masm) masm-> | 1618 #define ACCESS_MASM(masm) masm-> |
1618 #endif | 1619 #endif |
1619 | 1620 |
1620 | 1621 |
1621 } } // namespace v8::internal | 1622 } } // namespace v8::internal |
1622 | 1623 |
1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1624 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |