| 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); | |
| 783 void AllocateHeapNumberWithValue(Register result, | 782 void AllocateHeapNumberWithValue(Register result, |
| 784 DwVfpRegister value, | 783 DwVfpRegister value, |
| 785 Register scratch1, | 784 Register scratch1, |
| 786 Register scratch2, | 785 Register scratch2, |
| 787 Register heap_number_map, | 786 Register heap_number_map, |
| 788 Label* gc_required); | 787 Label* gc_required); |
| 789 | 788 |
| 790 // Copies a fixed number of fields of heap objects from src to dst. | 789 // Copies a fixed number of fields of heap objects from src to dst. |
| 791 void CopyFields(Register dst, | 790 void CopyFields(Register dst, |
| 792 Register src, | 791 Register src, |
| (...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1615 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1614 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1616 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1615 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1617 #else | 1616 #else |
| 1618 #define ACCESS_MASM(masm) masm-> | 1617 #define ACCESS_MASM(masm) masm-> |
| 1619 #endif | 1618 #endif |
| 1620 | 1619 |
| 1621 | 1620 |
| 1622 } } // namespace v8::internal | 1621 } } // namespace v8::internal |
| 1623 | 1622 |
| 1624 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1623 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |