| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 | 308 |
| 309 // --------------------------------------------------------------------------- | 309 // --------------------------------------------------------------------------- |
| 310 // Runtime calls | 310 // Runtime calls |
| 311 | 311 |
| 312 // Call a code stub. | 312 // Call a code stub. |
| 313 void CallStub(CodeStub* stub, Condition cond = al); | 313 void CallStub(CodeStub* stub, Condition cond = al); |
| 314 | 314 |
| 315 // Call a code stub. | 315 // Call a code stub. |
| 316 void TailCallStub(CodeStub* stub, Condition cond = al); | 316 void TailCallStub(CodeStub* stub, Condition cond = al); |
| 317 | 317 |
| 318 // Return from a code stub after popping its arguments. | |
| 319 void StubReturn(int argc); | |
| 320 | |
| 321 // Call a runtime routine. | 318 // Call a runtime routine. |
| 322 // Eventually this should be used for all C calls. | 319 // Eventually this should be used for all C calls. |
| 323 void CallRuntime(Runtime::Function* f, int num_arguments); | 320 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 324 | 321 |
| 325 // Convenience function: Same as above, but takes the fid instead. | 322 // Convenience function: Same as above, but takes the fid instead. |
| 326 void CallRuntime(Runtime::FunctionId fid, int num_arguments); | 323 void CallRuntime(Runtime::FunctionId fid, int num_arguments); |
| 327 | 324 |
| 328 // Tail call of a runtime routine (jump). | 325 // Tail call of a runtime routine (jump). |
| 329 // Like JumpToRuntime, but also takes care of passing the number | 326 // Like JumpToRuntime, but also takes care of passing the number |
| 330 // of parameters. | 327 // of parameters. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 481 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 485 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 482 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 486 #else | 483 #else |
| 487 #define ACCESS_MASM(masm) masm-> | 484 #define ACCESS_MASM(masm) masm-> |
| 488 #endif | 485 #endif |
| 489 | 486 |
| 490 | 487 |
| 491 } } // namespace v8::internal | 488 } } // namespace v8::internal |
| 492 | 489 |
| 493 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 490 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |