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