OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 void CopyFields(Register dst, Register src, RegList temps, int field_count); | 553 void CopyFields(Register dst, Register src, RegList temps, int field_count); |
554 | 554 |
555 // Copies a number of bytes from src to dst. All registers are clobbered. On | 555 // Copies a number of bytes from src to dst. All registers are clobbered. On |
556 // exit src and dst will point to the place just after where the last byte was | 556 // exit src and dst will point to the place just after where the last byte was |
557 // read or written and length will be zero. | 557 // read or written and length will be zero. |
558 void CopyBytes(Register src, | 558 void CopyBytes(Register src, |
559 Register dst, | 559 Register dst, |
560 Register length, | 560 Register length, |
561 Register scratch); | 561 Register scratch); |
562 | 562 |
| 563 // Initialize fields with filler values. Fields starting at |start_offset| |
| 564 // not including end_offset are overwritten with the value in |filler|. At |
| 565 // the end the loop, |start_offset| takes the value of |end_offset|. |
| 566 void InitializeFieldsWithFiller(Register start_offset, |
| 567 Register end_offset, |
| 568 Register filler); |
| 569 |
563 // --------------------------------------------------------------------------- | 570 // --------------------------------------------------------------------------- |
564 // Support functions. | 571 // Support functions. |
565 | 572 |
566 // Try to get function prototype of a function and puts the value in | 573 // Try to get function prototype of a function and puts the value in |
567 // the result register. Checks that the function really is a | 574 // the result register. Checks that the function really is a |
568 // function and jumps to the miss label if the fast checks fail. The | 575 // function and jumps to the miss label if the fast checks fail. The |
569 // function register will be untouched; the other registers may be | 576 // function register will be untouched; the other registers may be |
570 // clobbered. | 577 // clobbered. |
571 void TryGetFunctionPrototype(Register function, | 578 void TryGetFunctionPrototype(Register function, |
572 Register result, | 579 Register result, |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1140 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1147 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1141 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1148 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1142 #else | 1149 #else |
1143 #define ACCESS_MASM(masm) masm-> | 1150 #define ACCESS_MASM(masm) masm-> |
1144 #endif | 1151 #endif |
1145 | 1152 |
1146 | 1153 |
1147 } } // namespace v8::internal | 1154 } } // namespace v8::internal |
1148 | 1155 |
1149 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1156 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |