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 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 // Initialize fields with filler values. Fields starting at |start_offset| | 804 // Initialize fields with filler values. Fields starting at |start_offset| |
805 // not including end_offset are overwritten with the value in |filler|. At | 805 // not including end_offset are overwritten with the value in |filler|. At |
806 // the end the loop, |start_offset| takes the value of |end_offset|. | 806 // the end the loop, |start_offset| takes the value of |end_offset|. |
807 void InitializeFieldsWithFiller(Register start_offset, | 807 void InitializeFieldsWithFiller(Register start_offset, |
808 Register end_offset, | 808 Register end_offset, |
809 Register filler); | 809 Register filler); |
810 | 810 |
811 // --------------------------------------------------------------------------- | 811 // --------------------------------------------------------------------------- |
812 // Support functions. | 812 // Support functions. |
813 | 813 |
| 814 // Machine code version of Map::GetConstructor(). |
| 815 // |temp| holds |result|'s map when done, and |temp2| its instance type. |
| 816 void GetMapConstructor(Register result, Register map, Register temp, |
| 817 Register temp2); |
| 818 |
814 // Try to get function prototype of a function and puts the value in | 819 // Try to get function prototype of a function and puts the value in |
815 // the result register. Checks that the function really is a | 820 // the result register. Checks that the function really is a |
816 // function and jumps to the miss label if the fast checks fail. The | 821 // function and jumps to the miss label if the fast checks fail. The |
817 // function register will be untouched; the other registers may be | 822 // function register will be untouched; the other registers may be |
818 // clobbered. | 823 // clobbered. |
819 void TryGetFunctionPrototype(Register function, | 824 void TryGetFunctionPrototype(Register function, |
820 Register result, | 825 Register result, |
821 Register scratch, | 826 Register scratch, |
822 Label* miss, | 827 Label* miss, |
823 bool miss_on_bound_function = false); | 828 bool miss_on_bound_function = false); |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1549 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1545 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1550 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1546 #else | 1551 #else |
1547 #define ACCESS_MASM(masm) masm-> | 1552 #define ACCESS_MASM(masm) masm-> |
1548 #endif | 1553 #endif |
1549 | 1554 |
1550 | 1555 |
1551 } } // namespace v8::internal | 1556 } } // namespace v8::internal |
1552 | 1557 |
1553 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1558 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |