| 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 383 |
| 384 // Tail call a code stub (jump) and return the code object called. Try to | 384 // Tail call a code stub (jump) and return the code object called. Try to |
| 385 // generate the code if necessary. Do not perform a GC but instead return | 385 // generate the code if necessary. Do not perform a GC but instead return |
| 386 // a retry after GC failure. | 386 // a retry after GC failure. |
| 387 Object* TryTailCallStub(CodeStub* stub); | 387 Object* TryTailCallStub(CodeStub* stub); |
| 388 | 388 |
| 389 // Return from a code stub after popping its arguments. | 389 // Return from a code stub after popping its arguments. |
| 390 void StubReturn(int argc); | 390 void StubReturn(int argc); |
| 391 | 391 |
| 392 // Call a runtime routine. | 392 // Call a runtime routine. |
| 393 void CallRuntime(Runtime::Function* f, int num_arguments); | 393 void CallRuntime(const Runtime::Function* f, int num_arguments); |
| 394 | 394 |
| 395 // Call a runtime function, returning the CodeStub object called. | 395 // Call a runtime function, returning the CodeStub object called. |
| 396 // Try to generate the stub code if necessary. Do not perform a GC | 396 // Try to generate the stub code if necessary. Do not perform a GC |
| 397 // but instead return a retry after GC failure. | 397 // but instead return a retry after GC failure. |
| 398 Object* TryCallRuntime(Runtime::Function* f, int num_arguments); | 398 Object* TryCallRuntime(const Runtime::Function* f, int num_arguments); |
| 399 | 399 |
| 400 // Convenience function: Same as above, but takes the fid instead. | 400 // Convenience function: Same as above, but takes the fid instead. |
| 401 void CallRuntime(Runtime::FunctionId id, int num_arguments); | 401 void CallRuntime(Runtime::FunctionId id, int num_arguments); |
| 402 | 402 |
| 403 // Convenience function: call an external reference. | 403 // Convenience function: call an external reference. |
| 404 void CallExternalReference(ExternalReference ref, int num_arguments); | 404 void CallExternalReference(ExternalReference ref, int num_arguments); |
| 405 | 405 |
| 406 // Convenience function: Same as above, but takes the fid instead. | 406 // Convenience function: Same as above, but takes the fid instead. |
| 407 Object* TryCallRuntime(Runtime::FunctionId id, int num_arguments); | 407 Object* TryCallRuntime(Runtime::FunctionId id, int num_arguments); |
| 408 | 408 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 } \ | 608 } \ |
| 609 masm-> | 609 masm-> |
| 610 #else | 610 #else |
| 611 #define ACCESS_MASM(masm) masm-> | 611 #define ACCESS_MASM(masm) masm-> |
| 612 #endif | 612 #endif |
| 613 | 613 |
| 614 | 614 |
| 615 } } // namespace v8::internal | 615 } } // namespace v8::internal |
| 616 | 616 |
| 617 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ | 617 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ |
| OLD | NEW |