| 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 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 // the source is clobbered. Source and zeros can also be the same in which | 1008 // the source is clobbered. Source and zeros can also be the same in which |
| 1009 // case scratch should be a different register. | 1009 // case scratch should be a different register. |
| 1010 void CountLeadingZeros(Register zeros, | 1010 void CountLeadingZeros(Register zeros, |
| 1011 Register source, | 1011 Register source, |
| 1012 Register scratch); | 1012 Register scratch); |
| 1013 | 1013 |
| 1014 // --------------------------------------------------------------------------- | 1014 // --------------------------------------------------------------------------- |
| 1015 // Runtime calls | 1015 // Runtime calls |
| 1016 | 1016 |
| 1017 // Call a code stub. | 1017 // Call a code stub. |
| 1018 void CallStub(CodeStub* stub, Condition cond = al); | 1018 void CallStub(CodeStub* stub, |
| 1019 TypeFeedbackId ast_id = TypeFeedbackId::None(), |
| 1020 Condition cond = al); |
| 1019 | 1021 |
| 1020 // Call a code stub. | 1022 // Call a code stub. |
| 1021 void TailCallStub(CodeStub* stub, Condition cond = al); | 1023 void TailCallStub(CodeStub* stub, Condition cond = al); |
| 1022 | 1024 |
| 1023 // Call a runtime routine. | 1025 // Call a runtime routine. |
| 1024 void CallRuntime(const Runtime::Function* f, int num_arguments); | 1026 void CallRuntime(const Runtime::Function* f, int num_arguments); |
| 1025 void CallRuntimeSaveDoubles(Runtime::FunctionId id); | 1027 void CallRuntimeSaveDoubles(Runtime::FunctionId id); |
| 1026 | 1028 |
| 1027 // Convenience function: Same as above, but takes the fid instead. | 1029 // Convenience function: Same as above, but takes the fid instead. |
| 1028 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 1030 void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1429 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1431 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1430 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1432 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1431 #else | 1433 #else |
| 1432 #define ACCESS_MASM(masm) masm-> | 1434 #define ACCESS_MASM(masm) masm-> |
| 1433 #endif | 1435 #endif |
| 1434 | 1436 |
| 1435 | 1437 |
| 1436 } } // namespace v8::internal | 1438 } } // namespace v8::internal |
| 1437 | 1439 |
| 1438 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1440 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |