| Index: src/ia32/macro-assembler-ia32.h
|
| ===================================================================
|
| --- src/ia32/macro-assembler-ia32.h (revision 3911)
|
| +++ src/ia32/macro-assembler-ia32.h (working copy)
|
| @@ -366,13 +366,17 @@
|
| // Convenience function: Same as above, but takes the fid instead.
|
| Object* TryCallRuntime(Runtime::FunctionId id, int num_arguments);
|
|
|
| - // Tail call of a runtime routine (jump).
|
| - // Like JumpToRuntime, but also takes care of passing the number
|
| + // Tail call of a runtime routine (jump or equivalent if jump is not
|
| + // possible). Like JumpToRuntime, but also takes care of passing the number
|
| // of arguments.
|
| - void TailCallRuntime(const ExternalReference& ext,
|
| + void TailCallRuntime(Runtime::FunctionId id,
|
| int num_arguments,
|
| int result_size);
|
|
|
| + void TailCallExternalReference(const ExternalReference& ext,
|
| + int num_arguments,
|
| + int result_size);
|
| +
|
| void PushHandleScope(Register scratch);
|
|
|
| // Pops a handle scope using the specified scratch register and
|
| @@ -484,6 +488,8 @@
|
| Object* PopHandleScopeHelper(Register saved,
|
| Register scratch,
|
| bool gc_allowed);
|
| +
|
| + void DirectInvokeRuntime(Runtime::Function* f, InvokeFlag flag);
|
| };
|
|
|
|
|
|
|