| OLD | NEW |
| 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 | 524 |
| 525 // --------------------------------------------------------------------------- | 525 // --------------------------------------------------------------------------- |
| 526 // Runtime calls | 526 // Runtime calls |
| 527 | 527 |
| 528 // Call a code stub. | 528 // Call a code stub. |
| 529 void CallStub(CodeStub* stub, Condition cond = al); | 529 void CallStub(CodeStub* stub, Condition cond = al); |
| 530 | 530 |
| 531 // Call a code stub. | 531 // Call a code stub. |
| 532 void TailCallStub(CodeStub* stub, Condition cond = al); | 532 void TailCallStub(CodeStub* stub, Condition cond = al); |
| 533 | 533 |
| 534 // Return from a code stub after popping its arguments. | |
| 535 void StubReturn(int argc, Condition cond = al); | |
| 536 | |
| 537 // Call a runtime routine. | 534 // Call a runtime routine. |
| 538 void CallRuntime(Runtime::Function* f, int num_arguments); | 535 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 539 | 536 |
| 540 // Convenience function: Same as above, but takes the fid instead. | 537 // Convenience function: Same as above, but takes the fid instead. |
| 541 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 538 void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
| 542 | 539 |
| 543 // Convenience function: call an external reference. | 540 // Convenience function: call an external reference. |
| 544 void CallExternalReference(const ExternalReference& ext, | 541 void CallExternalReference(const ExternalReference& ext, |
| 545 int num_arguments); | 542 int num_arguments); |
| 546 | 543 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 733 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 737 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 734 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 738 #else | 735 #else |
| 739 #define ACCESS_MASM(masm) masm-> | 736 #define ACCESS_MASM(masm) masm-> |
| 740 #endif | 737 #endif |
| 741 | 738 |
| 742 | 739 |
| 743 } } // namespace v8::internal | 740 } } // namespace v8::internal |
| 744 | 741 |
| 745 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 742 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |