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 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 void CountLeadingZeros(Register zeros, | 695 void CountLeadingZeros(Register zeros, |
696 Register source, | 696 Register source, |
697 Register scratch); | 697 Register scratch); |
698 | 698 |
699 // --------------------------------------------------------------------------- | 699 // --------------------------------------------------------------------------- |
700 // Runtime calls | 700 // Runtime calls |
701 | 701 |
702 // Call a code stub. | 702 // Call a code stub. |
703 void CallStub(CodeStub* stub, Condition cond = al); | 703 void CallStub(CodeStub* stub, Condition cond = al); |
704 | 704 |
| 705 // Call a code stub and return the code object called. Try to generate |
| 706 // the code if necessary. Do not perform a GC but instead return a retry |
| 707 // after GC failure. |
| 708 MUST_USE_RESULT MaybeObject* TryCallStub(CodeStub* stub, Condition cond = al); |
| 709 |
705 // Call a code stub. | 710 // Call a code stub. |
706 void TailCallStub(CodeStub* stub, Condition cond = al); | 711 void TailCallStub(CodeStub* stub, Condition cond = al); |
707 | 712 |
708 // Tail call a code stub (jump) and return the code object called. Try to | 713 // Tail call a code stub (jump) and return the code object called. Try to |
709 // generate the code if necessary. Do not perform a GC but instead return | 714 // generate the code if necessary. Do not perform a GC but instead return |
710 // a retry after GC failure. | 715 // a retry after GC failure. |
711 MUST_USE_RESULT MaybeObject* TryTailCallStub(CodeStub* stub, | 716 MUST_USE_RESULT MaybeObject* TryTailCallStub(CodeStub* stub, |
712 Condition cond = al); | 717 Condition cond = al); |
713 | 718 |
714 // Call a runtime routine. | 719 // Call a runtime routine. |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1087 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1083 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1088 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1084 #else | 1089 #else |
1085 #define ACCESS_MASM(masm) masm-> | 1090 #define ACCESS_MASM(masm) masm-> |
1086 #endif | 1091 #endif |
1087 | 1092 |
1088 | 1093 |
1089 } } // namespace v8::internal | 1094 } } // namespace v8::internal |
1090 | 1095 |
1091 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1096 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |