OLD | NEW |
---|---|
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
724 Register scratch2, | 724 Register scratch2, |
725 Label* gc_required); | 725 Label* gc_required); |
726 | 726 |
727 // Allocates a heap number or jumps to the gc_required label if the young | 727 // Allocates a heap number or jumps to the gc_required label if the young |
728 // space is full and a scavenge is needed. All registers are clobbered also | 728 // space is full and a scavenge is needed. All registers are clobbered also |
729 // when control continues at the gc_required label. | 729 // when control continues at the gc_required label. |
730 void AllocateHeapNumber(Register result, | 730 void AllocateHeapNumber(Register result, |
731 Register scratch1, | 731 Register scratch1, |
732 Register scratch2, | 732 Register scratch2, |
733 Register heap_number_map, | 733 Register heap_number_map, |
734 Label* gc_required); | 734 Label* gc_required, |
735 bool tagged = true); | |
danno
2012/10/10 12:27:53
Use an enum here, like "enum TaggingMode { TAG_RES
aberent
2012/10/11 15:16:53
Done.
| |
735 void AllocateHeapNumberWithValue(Register result, | 736 void AllocateHeapNumberWithValue(Register result, |
736 DwVfpRegister value, | 737 DwVfpRegister value, |
737 Register scratch1, | 738 Register scratch1, |
738 Register scratch2, | 739 Register scratch2, |
739 Register heap_number_map, | 740 Register heap_number_map, |
740 Label* gc_required); | 741 Label* gc_required); |
741 | 742 |
742 // Copies a fixed number of fields of heap objects from src to dst. | 743 // Copies a fixed number of fields of heap objects from src to dst. |
743 void CopyFields(Register dst, Register src, RegList temps, int field_count); | 744 void CopyFields(Register dst, Register src, RegList temps, int field_count); |
744 | 745 |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1402 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1403 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1403 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1404 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1404 #else | 1405 #else |
1405 #define ACCESS_MASM(masm) masm-> | 1406 #define ACCESS_MASM(masm) masm-> |
1406 #endif | 1407 #endif |
1407 | 1408 |
1408 | 1409 |
1409 } } // namespace v8::internal | 1410 } } // namespace v8::internal |
1410 | 1411 |
1411 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1412 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |