| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // Call a runtime routine. | 268 // Call a runtime routine. |
| 269 // Eventually this should be used for all C calls. | 269 // Eventually this should be used for all C calls. |
| 270 void CallRuntime(Runtime::Function* f, int num_arguments); | 270 void CallRuntime(Runtime::Function* f, int num_arguments); |
| 271 | 271 |
| 272 // Convenience function: Same as above, but takes the fid instead. | 272 // Convenience function: Same as above, but takes the fid instead. |
| 273 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 273 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| 274 | 274 |
| 275 // Tail call of a runtime routine (jump). | 275 // Tail call of a runtime routine (jump). |
| 276 // Like JumpToBuiltin, but also takes care of passing the number | 276 // Like JumpToBuiltin, but also takes care of passing the number |
| 277 // of arguments. | 277 // of arguments. |
| 278 void TailCallRuntime(const ExternalReference& ext, int num_arguments); | 278 void TailCallRuntime(const ExternalReference& ext, |
| 279 int num_arguments, |
| 280 int result_size); |
| 279 | 281 |
| 280 // Jump to the builtin routine. | 282 // Jump to the builtin routine. |
| 281 void JumpToBuiltin(const ExternalReference& ext); | 283 void JumpToBuiltin(const ExternalReference& ext); |
| 282 | 284 |
| 283 | 285 |
| 284 // --------------------------------------------------------------------------- | 286 // --------------------------------------------------------------------------- |
| 285 // Utilities | 287 // Utilities |
| 286 | 288 |
| 287 void Ret(); | 289 void Ret(); |
| 288 | 290 |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 } \ | 413 } \ |
| 412 masm-> | 414 masm-> |
| 413 #else | 415 #else |
| 414 #define ACCESS_MASM(masm) masm-> | 416 #define ACCESS_MASM(masm) masm-> |
| 415 #endif | 417 #endif |
| 416 | 418 |
| 417 | 419 |
| 418 } } // namespace v8::internal | 420 } } // namespace v8::internal |
| 419 | 421 |
| 420 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 422 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |