| 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 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 // Call a code stub. | 474 // Call a code stub. |
| 475 void CallStub(CodeStub* stub, Condition cond = al); | 475 void CallStub(CodeStub* stub, Condition cond = al); |
| 476 | 476 |
| 477 // Call a code stub. | 477 // Call a code stub. |
| 478 void TailCallStub(CodeStub* stub, Condition cond = al); | 478 void TailCallStub(CodeStub* stub, Condition cond = al); |
| 479 | 479 |
| 480 // Return from a code stub after popping its arguments. | 480 // Return from a code stub after popping its arguments. |
| 481 void StubReturn(int argc); | 481 void StubReturn(int argc); |
| 482 | 482 |
| 483 // Call a runtime routine. | 483 // Call a runtime routine. |
| 484 void CallRuntime(Runtime::Function* f, int num_arguments); | 484 void CallRuntime(const Runtime::Function* f, int num_arguments); |
| 485 | 485 |
| 486 // Convenience function: Same as above, but takes the fid instead. | 486 // Convenience function: Same as above, but takes the fid instead. |
| 487 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 487 void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
| 488 | 488 |
| 489 // Convenience function: call an external reference. | 489 // Convenience function: call an external reference. |
| 490 void CallExternalReference(const ExternalReference& ext, | 490 void CallExternalReference(const ExternalReference& ext, |
| 491 int num_arguments); | 491 int num_arguments); |
| 492 | 492 |
| 493 // Tail call of a runtime routine (jump). | 493 // Tail call of a runtime routine (jump). |
| 494 // Like JumpToExternalReference, but also takes care of passing the number | 494 // Like JumpToExternalReference, but also takes care of passing the number |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 674 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 675 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 675 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 676 #else | 676 #else |
| 677 #define ACCESS_MASM(masm) masm-> | 677 #define ACCESS_MASM(masm) masm-> |
| 678 #endif | 678 #endif |
| 679 | 679 |
| 680 | 680 |
| 681 } } // namespace v8::internal | 681 } } // namespace v8::internal |
| 682 | 682 |
| 683 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 683 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |